Skip to content

startsWith doesn't work with the two argument form. #13

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

Closed
alexet opened this issue Mar 22, 2021 · 0 comments · Fixed by #14
Closed

startsWith doesn't work with the two argument form. #13

alexet opened this issue Mar 22, 2021 · 0 comments · Fixed by #14

Comments

@alexet
Copy link

alexet commented Mar 22, 2021

The provided polyfill for startWith ignores the second argument. The polyfill is installed even if it isn't needed so it breaks any code which expects the two argument version of startsWith to work.

Documentation for startsWith:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith

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

Successfully merging a pull request may close this issue.

1 participant