Last active
August 29, 2015 14:00
-
-
Save kumavis/3fed9853dd131daf0960 to your computer and use it in GitHub Desktop.
Block strings in javascript
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 (){/* | |
hey look at me | |
im a block string | |
a single string | |
across many lines | |
neat, huh? | |
*/}).toString().slice(15,-4) |
Author
kumavis
commented
Apr 29, 2014
note: would not survive minification
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment