-
Notifications
You must be signed in to change notification settings - Fork 17
there should be a TypedArrayMethods test #3
Comments
Agreed. If you can short-circuit my research on this, are there any exceptions (like some methods that are not, or some TypedArray's that don't)? |
The only methods excluded from Array.prototype of those that change the length of the array: all methods are available on all typed arrays |
Thanks! |
clarification: |
right concat isn't a mutator, but it was also excluded because it would be hard to reliably precompute the fixed size of the result typed array object. Another feature point is the availability of from and of on the typed array constructors. |
How do these look? |
Looks good, I might also test for 'sort' just because it is one of the more interesting methods and requires more implementation work than just moving over the Array.prototype method |
thanks! |
To test that the specified Array.prototype methods have been made available on %TypedArray%.prototyipe
The text was updated successfully, but these errors were encountered: