6 ms·
Yep. "Passing a comment" is used by calling .toString() on the function. It fails when using minification for obvious reasons but of course you wouldn't on Node
by STRML 11y ago
Yep. "Passing a comment" is used by calling .toString() on the function. It fails when using minification for obvious reasons but of course you wouldn't on Node code.
It's a clever hack around JS's awful multiline string support. But with ES6 template strings it's not really needed anymore.