On Wed, Nov 27, 2013 at 5:49 PM, Dmitry Soshnikov < [email protected]> wrote:
> > .toMethod(Array, 'toString'); // to (instance/proto) method > That does not seem like the lowest level of primitive since now there is no way to no pass an ordinary object as the [[HomeObject]]. Now I have to introduce a temporary object that has a prototype property on it. This is low level API and I don't think it is worth doing a property get for the prototype here. > .toStaticMethod(Array, 'toString'); // constructor's method > In this case .toMethod(Array, 'toString') is what you want (given that you are making a static method for a sub class of Array) -- erik
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

