6 ms·
Pretty cool. Only issue is not being able to exit from an infinite loop. let x = 2; for (let y=0; y < 10; x++){ console.log(x) } x
by dangom 8y ago
Pretty cool. Only issue is not being able to exit from an infinite loop.
let x = 2;
for (let y=0; y < 10; x++){
console.log(x)
}
x
- wvenable 8y agoThe next feature should be detecting whether or not there is an infinite loop and warn you before running it.. /s
- deleted 8y ago[deleted]
- ClassyJacket 8y agoI know this is a joke about the halting problem, but some kinds of infinite loop can be detected.