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 57 times
1

Krokodil
- 1,165
- 5
- 19
-
In my opanion i don't think so that they have differences in performance. – Blaze_droid Jun 20 '21 at 16:45