blob: f2c01493db82c655d4fc59667e9313ec04ee0702 [file] [log] [blame]
var obj = {
value: 42,
fn: function() {
return () => this.value;
}
};
var fn = obj.fn();
assertEqual(fn(), 42);
test(function() {
fn();
});