Skip to content

Instantly share code, notes, and snippets.

@dumindu
Last active September 25, 2016 01:52
Show Gist options
  • Save dumindu/b34ebf92fc5bd91eee40 to your computer and use it in GitHub Desktop.
Save dumindu/b34ebf92fc5bd91eee40 to your computer and use it in GitHub Desktop.
let a = !-2; //1
let b = !-1; //0
let c = !0; //-1
let d = !1; //-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment