Last active
October 5, 2015 23:39
-
-
Save tofumatt/4e3db82db2db6290b85b to your computer and use it in GitHub Desktop.
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
var m = "m"; | |
var o = "o"; | |
var z = "z"; | |
var idb = "IndexedDB"; | |
var tricksterVariable = m + o + z + idb; | |
var myDatabase = window[tricksterVariable]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can even get:
without it being too bad, but it's nuts to think how many other edge cases there would be. Frustratingly none of the existing validators/linters check this closely (eslint/jshint for instance don't check this hard for
eval
with theirno-eval
rules), but I would like for our validator not to get duped...