4 ms·
>Huh, wow. I hadn't realized template strings can be used that way in ES6. That feature ("tagged" template strings) is designed primarily for "escape text for
by Arnavion 12y ago
>Huh, wow. I hadn't realized template strings can be used that way in ES6.
That feature ("tagged" template strings) is designed primarily for "escape text for X" usage. Usually X is HTML, but it can also be SQL of course.