Basic JavaScript: Iterate with JavaScript While Loops | freeCodeCamp.org
Sun Oct 02 2022 20:34:34 GMT+0000 (Coordinated Universal Time)
Saved by @chymax030 #javascript
// Setup const myArray = []; // Only change code below this line let i = 5; while(i >= 0) { myArray.push(i); i--; }
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/iterate-with-javascript-while-loops
Comments