I was just tracing through typed array construction behavior, and it looks to 
me like |new Uint8Array()| creates an object via OrdinaryCreateFromConstructor, 
not by delegating to %TypedArray%.[[CreateAction]].  This creates an object 
with the right prototype chain but none of a typed array's internal slots.  
Error and NativeError seem to have [[CreateAction]] slots both; I'd have 
thought the typed array system would have similar structure.

Or am I missing something here?  I'm just off a cross-country flight following 
a weekend with very erratic sleep hours, so I don't have much confidence in my 
reading being fully on-target.

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

Reply via email to