Skip to content

Instantly share code, notes, and snippets.

@sudheesh001
Created April 1, 2015 07:10
Show Gist options
  • Save sudheesh001/eb496a67b717aeb7d3b5 to your computer and use it in GitHub Desktop.
Save sudheesh001/eb496a67b717aeb7d3b5 to your computer and use it in GitHub Desktop.
The heart that matters
var key, hash = {};
hash.x || (hash.x = hash.x ? ( key=key ? "\uD83D\uDC94":( _lock = (key ? "\u2661":"\uD83D\uDC99"))):(key=key?"\u2661":(_lock = (key?"\uD83D\uDE04":"\u2764"))))
key == _lock
// result of key :heart:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment