- 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...

7th Jan 2018, 12:26 PM
Edgars Urbans
Edgars Urbans - avatar
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.....
7th Jan 2018, 3:46 PM
_c0dĀ£ BitĀ£_
_c0dĀ£ BitĀ£_ - avatar
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..
7th Jan 2018, 2:41 PM
Edgars Urbans
Edgars Urbans - avatar
7th Jan 2018, 3:43 PM
Edgars Urbans
Edgars Urbans - avatar
- 1
None of this makes any sense...
7th Jan 2018, 1:42 PM
Robyn A
Robyn A - avatar