Is there any real difference between do-while loops and while loops in Javascript?
I know that do-while executes the code block before checking the condition, and while checks the condition first, but are there any other differences like performance?
Asked
Active
Viewed 49 times
1
AlphaHowl
- 1,063
- 5
- 17
-
In my opanion i don't think so that they have differences in performance. – Blaze_droid Jun 20 '21 at 16:45