mirror of
https://github.com/antonmedv/fx.git
synced 2024-08-17 14:10:46 +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