Is __proto__ ready needed?

BelleveInvis infinte.cdda at
Mon Jun 10 02:06:24 PDT 2013

I think that once an object is created, its prototype should be constant.

And we should add features to implement sub-typing built-in types, like Array, since this code exists (found in Zepto):

    zepto.Z = function(dom, selector) {
        dom = dom || []
        dom.__proto__ = $.fn
        dom.selector = selector || ''
        return dom

Using proxies may be one way, but it should be more convinent. 		 	   		  

More information about the es-discuss mailing list