Skip to content

Instantly share code, notes, and snippets.

@avelino
Created December 29, 2011 02:45
Show Gist options
  • 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"
@henvic
Copy link

henvic commented Dec 29, 2011

hahahahaha

@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