4 ms·
seriously? you people be nuts http://stackoverflow.com/a/15558082/2371924 var myString = function(){/* multi-line string */}.toString()
by cyphunk 12y ago
seriously? you people be nuts
http://stackoverflow.com/a/15558082/2371924
var myString = function(){/*
multi-line
string
*/}.toString().slice(14,-3)
take this code snippet, throw a package.json and some yaml in and make another npm to Show HN.
- coldtea 12y agoYeah, only it does several other things do. Like optionally removing indend whitespace. Did you even read TFA?