ECMAScript 2017,我看不懂 Realm。[[TemplateMap]]

ECMAScript 2017, I can't understand Realm.[[TemplateMap]]

我正在用韩语写一些关于 ECMA-262 领域的文章(实际上没有关于领域的文章)。所以,我阅读了关于领域 record.and 的 ECMA-262,我可以理解 [[Intrinsics]]、[[GlobalObject]] 等。但是,我无法理解 [[TemplateMap]]。

1.How 模板文字保存在 [[TemplateMap]] 中。(需要一些关于 [[TemplateMap]] 内容的示例)

[[TemplateMap]] 的条目格式为“Record {[[Strings]]: rawStrings, [[Array]]: template} ”。 template 是传递给标签函数的冻结模板对象,而 rawStrings 是字面量的 raw template values 的列表——与 .raw 数组基本相同。