String raw()
Widely available
The String.raw()
static method interpolates template literal substitutions, but ignores escape sequences. It is the tag function for template literals.
To learn more, see
String.raw() at MDN.
Compatibility
- Chrome 41 Released on 2015-03-03
- Chrome Android 41 Released on 2015-03-11
- Edge 12 Released on 2015-07-29
- Firefox 34 Released on 2014-12-01
- Firefox for Android 34 Released on 2014-12-01
- Safari 9 Released on 2015-09-30
- Safari on iOS 9 Released on 2015-09-16
Specifications
- ECMAScript Language Specification (#sec-string-objects), from TC39 (Ecma International).