+ 2
What us iteration in programming?
I've been coming accross this term while learning and i cant seem to understand it, someone pkease explain this to me.
3 Antworten
+ 3
It's weird that you are asking this after completing Javascript tutorial.
"Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes." ¹
src ¹:https://en.m.wikipedia.org/wiki/Iteration
example :
1.you iterate over an array to print all it's element.
2.Use loop to iterate ,repeat some lines of code and print numbers in some range (1,2,3,4....9) etc.
+ 2
Really helpfull guys, i had the same in mind but i needed to be sure 🙏🙏. Happy coding 😉