String identity template tag

Claude Pache claude.pache at gmail.com
Thu Dec 13 08:23:22 UTC 2018


Random suggestions:

* `String.cooked`, which pairs well with already existing `String.raw`
* `String.vanilla`
* `String.plain`
* `null`, i.e., using a null (or undefined) value as tag before a template literal is equivalent to using no tag. (Con: not polyfillable)

—Claude



More information about the es-discuss mailing list