Skip to content

Instantly share code, notes, and snippets.

@derhuerst
Last active September 27, 2016 13:07
Show Gist options
  • Save derhuerst/c71464c6c348948227cd49ca65b8c8b3 to your computer and use it in GitHub Desktop.
Save derhuerst/c71464c6c348948227cd49ca65b8c8b3 to your computer and use it in GitHub Desktop.
my solutions for "return true to win"

my solutions for return true to win

  1. !0
  2. NaN
  3. (x=0)=>y=>++x
  4. Number.MAX_SAFE_INTEGER thanks @juliuste
  5. (Array.isArray=x=>!x,0),[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment