This commit is contained in:
Vanessa 2022-12-25 10:31:01 +08:00
parent 27c9ac2b25
commit ec00af7334
3 changed files with 5 additions and 5 deletions

View file

@ -49,4 +49,4 @@ export const isFileAnnotation = (text: string) => {
// REF https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval
export const looseJsonParse = (text: string) => {
return Function(`"use strict";return (${text})`)();
}
};