-
Notifications
You must be signed in to change notification settings - Fork 13
What about TypedArray views? #18
Comments
Good point; anything that is added here to Array.prototype should probably be added to TypedArray.prototype. |
PRs always welcome 👍 |
2 questions: should proposed accessors validate that the target is a typed array and what the behaviour expected for typed arrays with zero length? |
@zloirock Is there any reason to do it differently than for |
@addaleax almost all typed array methods are non-generic and throws an error on something different from typed array. Typed arrays have a constant length, so setting |
If the issue @zloirock brought up is resolved, I can look into submitting a PR to add |
The rationale would seem to apply equally to them.
The text was updated successfully, but these errors were encountered: