Last updated on : 2022-06-30
You can use multi-line strings and string interpolation features with template literals.
ECMAScript Language Specification # sec-template-literals
// Untagged, these create strings: `string text` `string text line 1 string text line 2` `string text ${expression} string text` // Re-usable template: const templateFn = expression => `string text ${expression} string text`;
// Tagged, this calls the function "example" with the template as the // first argument and substitution values as subsequent arguments: example`string text ${expression} string text`
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
LT Browser - Next-gen browser to build, test & debug responsive mobile websites
LT Debug - The best chrome extension to debug web issues and accelerate your development
Test your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for ES6 Template Literals (Template Strings) and many more web technologies that are a part of your website or web-application.
Last Modified date
2022-06-30
Data sourced from
LT Debug - The best chrome extension to
debug web issues and accelerate
your development
LT Browser - Next-gen browser to
build, test & debug responsive
mobile websites
Test this and other features on your website for compatibility across
3,000 real browsers and devices using