DEV Community

Ashok Mohanakumar
Ashok Mohanakumar

Posted on

Backticks in browser scripts

Do all browsers (IE doesn't matter) support use of backticks in javascript

Eg; can I use

console.log(`Prics is Rs. ${price}`);

Enter fullscreen mode Exit fullscreen mode

Instead of

console.log('Prics is Rs.'+ price);
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
ashokcodes profile image
Ashok Mohanakumar

Thanks a lot!!