2 ms·
No, this is an untagged template literal[1], which just generates a string. The other ones are tagged, which means that the template string and the parameters a
by ptx 5y ago
No, this is an untagged template literal[1], which just generates a string. The other ones are tagged, which means that the template string and the parameters are (separately) passed to the $ function.
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...