Last active
March 5, 2017 23:28
-
-
Save brettinternet/acb72b414d5434fd97d0c3de89fac501 to your computer and use it in GitHub Desktop.
Go home Javascript, you're drunk
This file contains 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
console.log(9999999999999999); // 10000000000000000 | |
[] + {} // '[object Object]' | |
{} + [] // 0 | |
console.log(!+[]+[]+![] === 'truefalse'); // true | |
Math.max( ...[] ) // -Infinity | |
Math.max( undefined ) // NaN | |
console.log( …[] ) // undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment