Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string interpolation in javascript

const number = 42;
const message = `The number is ${number}`;

message; // => 'The number is 42'
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #string #interpolation #javascript
ADD COMMENT
Topic
Name
9+4 =