> > This is really interesting. It does argue for some kind of redefinition of > Array.isArray to return "is this an instance of some %ArrayPrototype% in > some realm?" >
Yeah, my guess would be that if (Array.isArray(obj) === true), then the user will infer that one or both of the following is true: - It behaves as if it were created with an array literal (including the length invariant and Array.prototype methods). - It should be "rendered" (via JSON or console output) as if it were created with an array literal.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

