Last active
August 29, 2015 14:15
-
-
Save AllThingsSmitty/ca4d7f78298c2e688dc1 to your computer and use it in GitHub Desktop.
JS variables in Unicode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
var Λ_Λ = console.log, | |
ಠ_ಠ = "feeling happy", | |
ↂ = "look mom no hands", | |
iǃ = Infinity, | |
Θ_Θ = "hey buddy", | |
Ψ = function(e){throw e;}; | |
Λ_Λ (ಠ_ಠ); // "feeling happy" | |
Λ_Λ (ↂ); // "look mom no hands" | |
Λ_Λ (++iǃ); // Infinity | |
Λ_Λ (Θ_Θ); // "hey buddy" | |
try { | |
Ψ("bug!"); | |
} catch(e) { | |
Λ_Λ ("sorted"); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment