Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Interpolation in JS

const name = "John";

console.log(`Welcome ${name}.
You have ${2 * 5} new notifications!`);
Source by codetogo.io #
 
PREVIOUS NEXT
Tagged: #Interpolation #JS
ADD COMMENT
Topic
Name
2+5 =