Created
May 23, 2020 05:29
-
-
Save hebertcisco/69c3c949a2bc98b9531e98bff08c2b11 to your computer and use it in GitHub Desktop.
One declaration for each in repeating a specified variable over all values of the object's properties. For each distinct property, a specific declaration is executed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mySkills = [ | |
"C#", | |
"JavaScript", | |
"TypeScript", | |
"HTML", | |
"CSS3", | |
"Angular", | |
"ReactJS", | |
"React Native", | |
"NodeJs", | |
"MongoDB", | |
"Python", | |
"C", | |
]; | |
mySkills.forEach((value, index) => { | |
console.log(`${index + 1}. ${value}`); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment