String.raw creates a raw string that does not process escape sequences. This is useful when you need to create a string that includes backslashes.
String.raw is a template tag function. You write it before the opening backtick of the template string:
String.raw`my \ string \ with \ backslashes`
The resulting string contains the backslashes. Without String.raw, these would instead be interpreted as escape sequences.
https://developer.mozilla.org/en-US/d...
#javascript
Nesta página do site você pode assistir ao vídeo on-line JavaScript tips — Using String.raw to create raw strings duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code 2020 14 Janeiro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 629 vezes e gostou 29 espectadores. Boa visualização!