javascript-while Flashcards
1
Q
What is the purpose of a loop?
A
comparing variables
2
Q
Why might there be different kinds of loops?
A
When you do not have something to iterate through
3
Q
Could a loop potentially go on forever?
A
yes, if the condition is not false
4
Q
Could a loop never start?
A
yes, if the condition is never met