Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 229 Bytes

string-additions-raw.md

File metadata and controls

13 lines (10 loc) · 229 Bytes

21. String additions - raw

let world = '\uD83C\uDF0E'
String.raw`hello ${world}`
// > 'hello 🌎'

String.raw({raw: 'hello'}, 'world')
// > 'hworldello'

String.raw({raw: '   '}, 'hello', 'world')
// > ' hello world '