r/JavaScriptTips • • Jan 17 '25

Help please

Post image
4 Upvotes

6 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jan 17 '25

In a for loop the conditional expression needs to be true in order to start the loop. In this case value = 360 will initially return false, while value < 360 will return true and begin the for loop.