typed arrays

Boris Zbarsky bzbarsky at MIT.EDU
Tue Mar 4 10:29:45 PST 2014


On 3/4/14 1:21 PM, C. Scott Ananian wrote:
> There's no benefit to the implementor in differentiating the function
> objects

There is: You don't have to have extra machinery to stash a copy of the 
function object somewhere when it first gets created so you can ensure 
that the same object ends up used both places.  You can simply create 
function objects independently for the two prototypes, which is much 
simpler.

-Boris


More information about the es-discuss mailing list