What does the following do?

var x = 1;
var m = new Module({
  get x() {
    return x;
  }
});
print(m.x);
x++;
print(m.x);  // ???

Does ToModule do a [[Get]] or does it keep the accessor?

What about setters? Does it keep identity of the getter function?

-- 
erik
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to