Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to put variable in string javascript

var myInt = 1
console.log(`my variable is ${myInt}`);
// my variable is 1
 
PREVIOUS NEXT
Tagged: #put #variable #string #javascript
ADD COMMENT
Topic
Name
9+3 =