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}`);

 

About Author

Photo

Hi, I am Mahbub Hasan
Software Engineer

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.

Thank You

For Visiting My Blog.

Contact Me