Created
May 23, 2020 05:21
-
-
Save hebertcisco/6d0adc0cbdd8274693c31317da469bda to your computer and use it in GitHub Desktop.
The while statement creates a loop that executes a specific routine while the test condition is evaluated as true. The condition is evaluated before the routine 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", | |
]; | |
let index = 0; | |
while (index < mySkills.length) { | |
console.log(`${index + 1}. ${mySkills[index]}`); | |
index++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment