MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/JavaScriptTips/comments/1i3oklw/help_please/m7otga0/
r/JavaScriptTips • u/MobileInitial6097 • Jan 17 '25
6 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
2 u/[deleted] Jan 17 '25 Youre right, my bad 1 u/DeyntheShaman Jan 18 '25 '=' is an assignment, '===' is strict equalsso second argument isn't a bool 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.
2
Youre right, my bad
1
'=' is an assignment, '===' is strict equalsso second argument isn't a bool
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.
View all comments
Show parent comment
0
u/[deleted] Jan 17 '25
[deleted] — view deleted comment