Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] Implement at for array like types #39131

Closed
domoritz opened this issue Dec 7, 2023 · 0 comments
Closed

[JS] Implement at for array like types #39131

domoritz opened this issue Dec 7, 2023 · 0 comments

Comments

@domoritz
Copy link
Member

domoritz commented Dec 7, 2023

Describe the enhancement requested

at (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at) is a method to read values at an index. We currently implement get instead and should add at. Note that at returns values from the end if a negative index is passed in and it can return undefined.

Component(s)

JavaScript

@domoritz domoritz changed the title Implement at for array like types [JS] Implement at for array like types Dec 7, 2023
domoritz added a commit to domoritz/arrow that referenced this issue Mar 21, 2024
domoritz added a commit to domoritz/arrow that referenced this issue Mar 22, 2024
@domoritz domoritz added this to the 16.0.0 milestone Apr 16, 2024
domoritz added a commit that referenced this issue Apr 16, 2024
Simpler version of #40712 that
preserves `get`.
* GitHub Issue: #39131
domoritz added a commit to domoritz/arrow that referenced this issue Apr 17, 2024
Simpler version of apache#40712 that
preserves `get`.
* GitHub Issue: apache#39131
@domoritz domoritz modified the milestones: 16.0.0, 16.1.0 Apr 18, 2024
raulcd pushed a commit that referenced this issue Apr 29, 2024
Simpler version of #40712 that
preserves `get`.
* GitHub Issue: #39131
tolleybot pushed a commit to tmct/arrow that referenced this issue May 2, 2024
vibhatha pushed a commit to vibhatha/arrow that referenced this issue May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant