8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Iterator Helpers have been added to WebKit / JSC recently. They are available in Safari >= 18.4. Hermes does not support them yet.
I ran into this by accident because TypeScript's ECMA support already suggests helper methods on iterators.
gradle clean
Hermes git revision (if applicable): rn/0.79-stable React Native version: 0.79 OS: macOS 14.7.2 Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64
One-liner:
new Map([["a", 1], ["b", 2]]).values().map(v => v * 2) // Uncaught TypeError: new Map([["a", 1], ["b", 2]]).values().map is not a function (it is undefined)
Should not throw and instead return a new iterator. The code above works in Safari 18.4 console.
The text was updated successfully, but these errors were encountered:
Thanks for the report, we're working on implementing this feature.
Sorry, something went wrong.
No branches or pull requests
Bug Description
Iterator Helpers have been added to WebKit / JSC recently. They are available in Safari >= 18.4. Hermes does not support them yet.
I ran into this by accident because TypeScript's ECMA support already suggests helper methods on iterators.
gradle clean
and confirmed this bug does not occur with JSCHermes git revision (if applicable): rn/0.79-stable
React Native version: 0.79
OS: macOS 14.7.2
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64
Steps To Reproduce
One-liner:
The Expected Behavior
Should not throw and instead return a new iterator. The code above works in Safari 18.4 console.
The text was updated successfully, but these errors were encountered: