4 ms·
Is this a typo? console.log(`Files count: ${count}`) missing $
by soheil 5y ago
Is this a typo?
console.log(`Files count: ${count}`)
missing $
- ptx 5y agoNo, 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...