r/learnjavascript • • Oct 11 '20

JavaScript can keep you safe

Post image
1.0k Upvotes

87 comments sorted by

View all comments

3

u/[deleted] Oct 11 '20

This is silly. If any of the inner methods cause still_alive to become false they weren’t good ideas. If they never do then you just made an infinite loop. Also why is js code using snake case?