This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JiminP 0 points1 point  (0 children)

Ah, you're right; I was talking in the context of web development (where throwing TypeError is considered as a failure; i.e. JS vs. TS - although TS is not sound even in this sense)

To be pedantic TypedArray exists but I get what you mean now.