On Feb 19, 2015, at 12:09 PM, Andrea Giammarchi wrote:

> if we'd like to have Array.empty, Function.empty, String.empty and friends, 
> what's wrong with having these as we always had already: as prototypes?

Just to keep things focused. *.empty is not something that is on the table for 
ES6.  It would have to go into the ES7 track.

Today's issue, is

1) do we need to revert Array.prototype to being an Array exotic object
(I think we do)

2) do we need to revert RegExp.prototype to being a RegExp instance.(with 
initialize RegExp internal slots)
(maybe not, and alternatively I have very minor tweaks to the exec and test 
methods that will maintain the most likely such legacy RegExp.prototype uses 
without needing those internal slots) 

allen

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

Reply via email to