6 ms·
Ooh I really really like this. Preserving newlines (one of the stated usecases for multiline) is dead easy too. var str = [ //... ].join("\n");
by andrey-p 12y ago
Ooh I really really like this. Preserving newlines (one of the stated usecases for multiline) is dead easy too.
var str = [
//...
].join("\n");