DEV Community

Discussion on: `at` coming soon to ECMAScript

 
dsm637 profile image
Denis Mitropolsky

Throws on non-array seems to me a real reason for using "at". TypeScript is not everywhere yet and even it is, there's still "any".

 
ashleyo profile image
Ashley Oliver

You would implement a stack as an object? Trippy ...