Skip to content

Instantly share code, notes, and snippets.

@mattes
Created February 15, 2013 02:25
Show Gist options
  • Save mattes/4958146 to your computer and use it in GitHub Desktop.
Save mattes/4958146 to your computer and use it in GitHub Desktop.
~hash.indexOf(key)
if(~hash.indexOf(key)) {
return true;
} else {
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment