0
Which loop statement is most efficient in JavaScript?
there are three loops statements in JS; for loop, while loop, do while loop. which is the most efficient one and why?
1 Resposta
+ 4
These are just kind of flow controllers!
Efficiency is related to your algorithm!
These 3 just have little differences with each other in syntax and behavior!