mirror of
https://github.com/antonmedv/fx.git
synced 2024-10-27 04:29:59 +03:00
Add x
as this
alias
This commit is contained in:
parent
41f5d50b0d
commit
a99c41bad3
@ -108,6 +108,7 @@ async function transform(json, code) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fn = eval(`(function () {
|
const fn = eval(`(function () {
|
||||||
|
const x = this
|
||||||
return ${code}
|
return ${code}
|
||||||
})`).call(json)
|
})`).call(json)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user