const aboutMe = () => {
const myLife = {
innerName: "Amirhossein Allami",
innerBirthday: "October 7",
quote: "I develop what comes to my head with some style",
hobbies: ["coding", "algorithm", "game"],
getHobbiesCount: function() {
return this.hobbies.length;
},
introduce: function() {
return `Hi, I'm ${this.innerName}. My birthday is on ${this.innerBirthday}.
One of my favorite quotes is "${this.quote}".
I enjoy ${this.getHobbiesCount()} hobbies: ${this.hobbies.join(", ")}.`;
}
};
return myLife;
};
const myInfo = aboutMe();
console.log(myInfo.introduce());
Block or Report
Block or report amirallami-code
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
binary-search-algorithm
binary-search-algorithm PublicThis repository contains an implementation of the binary search algorithm. This efficient algorithm is designed to find an item from a sorted list of items. It does so by repeatedly dividing the li…
JavaScript 3
-
selection-sorting-algorithm
selection-sorting-algorithm PublicThis repository contains an implementation of selection sort, a simple and efficient sorting algorithm.
JavaScript 2
-
rock-paper-scissors-game
rock-paper-scissors-game PublicRock, Paper, Scissors is a classic hand game that has been played for generations. It's a simple yet entertaining way to make quick decisions or settle disputes.
CSS
-
travel-company-portfolio
travel-company-portfolio PublicThis repository contains a portfolio website for a travel company. The website showcases the company’s services, destinations, and customer reviews.
HTML
If the problem persists, check the GitHub status page or contact support.