0454ae4720
The [String.raw spec](https://tc39.es/ecma262/#sec-string.raw) uses just the `raw` property of its first argument, which is a useful way of using it in user-defined tag functions to do the work of interleaving strings and values as well as converting the values to strings. Fixes #43609.
7 lines
155 B
TypeScript
7 lines
155 B
TypeScript
//// [stringRawType.ts]
|
|
String.raw({ raw: ["foo", "bar", "baz"] }, 1, 2);
|
|
|
|
|
|
//// [stringRawType.js]
|
|
String.raw({ raw: ["foo", "bar", "baz"] }, 1, 2);
|