String.raw

raw

Description

String.raw`string raw`

Parameters

Name Description Type Default Optional
raw Raw string string No

Return values

string primitive.

Examples

Example #1 – raw example
console.log(String.raw`Escaped\r\nCharacters`); // Escaped\r\nCharacters

External references