Answers for "typescript string interpolation"

4

typescript string interpolation

//Works only with ES6/ES2015 and above
let playerName:string = "Sachin Tendulkar";    
console.log(`${playerName} is the greatest cricketer of all time`)
 
//**** Output ****
//Sachin Tendulkar is the greates cricker of all time
 
Posted by: Guest on May-20-2020

Code answers related to "typescript string interpolation"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language