Skip to content

Commit

Permalink
Add x as this alias
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Sep 19, 2023
1 parent 41f5d50 commit a99c41b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ async function transform(json, code) {
}

const fn = eval(`(function () {
const x = this
return ${code}
})`).call(json)

Expand Down

0 comments on commit a99c41b

Please sign in to comment.