Skip to content

Instantly share code, notes, and snippets.

@newz2000
Created December 3, 2015 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newz2000/e993f940d5c77afd7474 to your computer and use it in GitHub Desktop.
Save newz2000/e993f940d5c77afd7474 to your computer and use it in GitHub Desktop.
// it's cool that ES6 allows more unicode characters in variable names, but
// in which version of ES will this be a valid JS variable name?
var TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ = 3;
// from the famous response on parsing html with regex
// http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment