DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
insert variable in string javascript
var a = 5; var b = 10; console.log(`Fifteen is ${a + b}.`); // "Fifteen is 15.
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#insert
#variable
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit