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

[GenJs] padStart, padEnd aren't available in ES5 #17

Closed
jedwards1211 opened this issue Oct 23, 2020 · 1 comment
Closed

[GenJs] padStart, padEnd aren't available in ES5 #17

jedwards1211 opened this issue Oct 23, 2020 · 1 comment
Assignees

Comments

@jedwards1211
Copy link
Contributor

One way you can check which version an API was added in is to look it up in devdocs (e.g. https://devdocs.io/javascript/global_objects/string/padstart) and scroll to the specifications section. If it's ES5 you should see ECMAScript 5.1 listed in the specifications.

We could also consider targeting a later version of JS.

@pfusik pfusik self-assigned this Oct 23, 2020
@pfusik
Copy link
Collaborator

pfusik commented Sep 18, 2021

This doesn't look like a serious compatibility issue: https://caniuse.com/?search=padStart
We discussed IE in #16.

@pfusik pfusik closed this as completed Sep 18, 2021
@pfusik pfusik closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2022
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

No branches or pull requests

2 participants