scripting: special keyword this now returns the string "this"

This commit is contained in:
jean-emmanuel 2022-01-16 23:04:04 +01:00
parent e83f12eac4
commit c956d0d1e9
3 changed files with 8 additions and 2 deletions

View file

@ -136,7 +136,7 @@ class Vm {
this.sanitize(__contextValues)
return compiledCode.apply(null, __contextValues)
return compiledCode.apply("this", __contextValues)
}