properly freeze tagged template literal object #328
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
var _taggedTemplateLiteral = function (strings, raw) {
|
||||
return Object.freeze(Object.defineProperties(strings, {
|
||||
raw: {
|
||||
value: raw
|
||||
value: Object.freeze(raw)
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user