Open
Description
Running the following through hsm
export default function(context, args) {
const a = {
b: function() {
return this;
},
}
return a.b();
}
}
produces the below
function(context, args) {
let a = {
b: function () {
return undefined
}
}
return a.b()
}
notice the conversion of this
to undefined
. this
in b
should refer to a
This issue seems very closely related to #236
Metadata
Metadata
Assignees
Labels
No labels