Created
February 9, 2016 20:36
-
-
Save RikerW/09bec23166a4ac03f87a to your computer and use it in GitHub Desktop.
Hello!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Bitsbox code | |
These are all the commands/code I discovered. | |
##Rickroll: | |
window.open("http://bit.ly/IqT6zt","_parent") | |
**alt:** | |
window.open("http://bit.ly/defcon","_parent") | |
##Infinite text addition, runs out of memory: | |
txt = "break bitsbox pls "; | |
for(;;){ | |
txt += txt; | |
console.log(txt); | |
} | |
##Just plain infinite loop | |
for(;;)console.log(1) | |
##Epic looking infinite loop | |
\_=\_=>1; | |
for(;_(_);)_(_); | |
##Recursivish crash function | |
function crash(){ | |
window.location.hash=Math.random(),onhashchange=function(){crash()} | |
} | |
##Recursive and infinite loop | |
function f(i){try{f(i+1);}catch(e){console.log(i);}} | |
f(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment