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

Add support Array.prototype.with #1078

Open
retyui opened this issue Aug 1, 2023 · 1 comment
Open

Add support Array.prototype.with #1078

retyui opened this issue Aug 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@retyui
Copy link
Contributor

retyui commented Aug 1, 2023

Problem

// Hermes 0.72.x 🫠
typeof Array.prototype.with // undefined

Solution

implment it or use polyfill

Additional Context

Spec: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with
TS: es2023.array.d.ts

@retyui retyui added the enhancement New feature or request label Aug 1, 2023
@avp
Copy link
Contributor

avp commented Aug 1, 2023

Thanks for the report. We'd likely add this with the other "change array by copy" APIs: https://github.com/tc39/proposal-change-array-by-copy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants