Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Template literals in js

var str = 'Release date: ' + date // ES5
let str = `Release Date: ${date}` // ES6
Source by www.taniarascia.com #
 
PREVIOUS NEXT
Tagged: #Template #literals #js
ADD COMMENT
Topic
Name
8+7 =