|
|
|
|
|
by kreetx
1844 days ago
|
|
How about deprecating that for a few years then? Doesn't seem good to keep the behavior, given that it will also be confusing in the future. But perhaps we just don't know enough, and they will add the `at`, and at some point actually do bind `arr[index]` to use the implementation of that function? |
|
Instead, adding .at() allows having the new feature now, and in a way that's possible to polyfill for backwards compatibility.