Template literals javascript
Syntex (``)
Template literals use instead of double or single quotes.It's easy to use variable with string see example bellow
Example
let number = 10;
console.log(`The number is: ${number}`);
Template literals use instead of double or single quotes.It's easy to use variable with string see example bellow
let number = 10;
console.log(`The number is: ${number}`);
I am very much interested to share my programming
and development knowledge with the people.I will try
to update my blog everyday with new technology inshallah.