const i = 0; if (i * x < 1000; i++){ console.log(i) } } code example
Example: const i = 0; if (i * x < 1000; i++){ console.log(i) } }
const myArray = [1, 2, 3, 4, 5, 6, 7, 8]
for (let i = 0; i < myArray.length; i++)
{
console.log(i);
}
const myArray = [1, 2, 3, 4, 5, 6, 7, 8]
for (let i = 0; i < myArray.length; i++)
{
console.log(i);
}