mirror of
https://github.com/antonmedv/fx.git
synced 2024-09-11 18:27:10 +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 x = this
|
||||
return ${code}
|
||||
})`).call(json)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user