Hey what are you guys going on with your dad today or tomorrow night
Hi!
I have a slight understanding of excel, it depends on what you need.
Answer:
for(let i = 0: i <=5; i++) {
console.log(I)
}
Explanation:
An iterative statement repeats a body of code until the condition is not true. Here we declare an integer (i) and make it 0. Then the loop checks if the second part is true (i is less than or equal to 5), and if it is true, it executes the code inside the loop body, which logs i, and finally runs the last past, which increments i by one. When the second part becomes false, the loop exits.