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

refactor: removed mention of js polyfills that are not used any more #3875

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ecreeth
Copy link
Contributor

@ecreeth ecreeth commented Oct 10, 2023

Summary

Both JSC and hermes implements these methods, so we aren't using a polypill version of them.

  • Array.from
  • Array.prototype.includes
  • Array.prototype.{find, findIndex}
  • Object.{entries, values}
  • Object.assign
  • String.prototype.{startsWith, endsWith, repeat, includes}

See string-functions, object-functions and array-functions for reference.

### Summary

Both `JSC` and `hermes` implements these methods, so we aren't using a polypill version of them.

- Array.from
- Array.prototype.includes
- Array.prototype.{find, findIndex}
- Object.{entries, values}
- Object.assign
- String.prototype.{startsWith, endsWith, repeat, includes}

See [string-functions](https://github.com/facebook/hermes/blob/main/test/hermes/string-functions.js), [object-functions](https://github.com/facebook/hermes/blob/main/test/hermes/object-functions.js) and [array-functions](https://github.com/facebook/hermes/blob/main/test/hermes/array-functions.js)
@netlify
Copy link

netlify bot commented Oct 10, 2023

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit e7fac96
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/652552053cfb390008dbf748
😎 Deploy Preview https://deploy-preview-3875--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not the best person to review this one. @NickGerleman do you happen to know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants