DEV Community

Discussion on: Algorithms in JavaScript with visual examples.

Collapse
sanzhardanybayev profile image
Sanzhar Danybayev

Yeah, that all because of the type. It changed the value and it also causes infinite loop.
Nevertheless that was a pleasure to read your article!