David Bruant <mailto:[email protected]>
January 23, 2012 12:37 PM
Can you elaborate on this last point? Do you mean a run-time way?

No, spec way.

For the record, this rule (no irrevocable access by default to objects with mutable state) was applied in the design of Joe-E [1], a subset of Java designed to allow object capabilities.

Right, Mark has mentioned that. Indeed it does argue for RegExp.prototype being of class Object (no .lastIndex shared mutable).

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

Reply via email to