- 1
How to set your device on fire?
Any examples of code you should not write? Like find 5 genuine, whole numbers out of 3...
4 Answers
+ 3
yes....this one
javascript....
function aFun(){
requestAnimationFrame(aFun);
}
setInterval(aFun,1000);
only if you want to crash your browser or something...
P.S i hope i wrote it right.....
0
Infinite loop makes some sence?
Once made my laptop do a sound of a boeing taking off.. accidentaly, while doing code corrections, asked a function to return 5 whole, genuine numbers in a range of 1 to 3.. it finds 3 and then takes off.. had to force quit the execution.
I've heard that u can even physically damage your computer if compiling incorrect code..
- 1
None of this makes any sense...