Add x as this alias

This commit is contained in:
Anton Medvedev 2023-09-19 10:00:22 +02:00
parent 41f5d50b0d
commit a99c41bad3
No known key found for this signature in database

View File

@ -108,6 +108,7 @@ async function transform(json, code) {
}
const fn = eval(`(function () {
const x = this
return ${code}
})`).call(json)