Skip to content

Instantly share code, notes, and snippets.

@avelino
Created December 29, 2011 02:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avelino/1531375 to your computer and use it in GitHub Desktop.
Save avelino/1531375 to your computer and use it in GitHub Desktop.
++[[]][+[]]+[+[]]
> test = []
[]
> test = test + 1
"1"
> typeof test
"string"
------------------------------------
> lero = ++[[]][+[]]+[+[]]
"10"
> typeof lero
"string"
@suissa
Copy link

suissa commented Dec 29, 2011

Coisa de maluco mesmo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment