NODE
node
1
2
3
4
5
6
7
/*This is a simple code to prove the logic of the infinite loop when working with the while loop*/
//programmed by th3hunt3r
var i = 0;
while (1!=2) {
console.log("crash");
};
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run