Skip to content

Instantly share code, notes, and snippets.

@wegorich
Created November 24, 2015 10:16
Show Gist options
  • Save wegorich/8a0089309962bb0237b9 to your computer and use it in GitHub Desktop.
Save wegorich/8a0089309962bb0237b9 to your computer and use it in GitHub Desktop.
Magic of index
~"cat".indexOf("r") // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment