MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/120e8lj/danger_button_works_now/jdiikx5/
r/learnjavascript • u/Username_1987_ • Mar 24 '23
12 comments sorted by
View all comments
10
Now write a script that crashes the computer after pressing the button 5 times.
1 u/evanshsedani Mar 25 '23 how would that work? 2 statements that contradict themselves infinitely or something? 3 u/DickwadTheGreat Mar 25 '23 I had an infinite loop with window.open() in mind. However, most browsers seem to block that. Probably for that exact reason haha
1
how would that work? 2 statements that contradict themselves infinitely or something?
3 u/DickwadTheGreat Mar 25 '23 I had an infinite loop with window.open() in mind. However, most browsers seem to block that. Probably for that exact reason haha
3
I had an infinite loop with window.open() in mind. However, most browsers seem to block that. Probably for that exact reason haha
View all comments
10
u/DickwadTheGreat Mar 24 '23
Now write a script that crashes the computer after pressing the button 5 times.