DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+2 =
Submit