DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
reactjs variable in string
// Put ` instead of ' or "
console
.
log
(
`
this is just a
${
sample
}
`
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#reactjs
#variable
#string
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit