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