-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Some js methods not supported on IE 11 #445
Comments
|
I have the same issue. |
Half of this issue can be solved by applying #507: just add new Array().includes() // errors with: ESLint: Array.includes() is not supported in IE 11(compat/compat)
new String().includes() // errors with: ESLint: String.includes() is not supported in IE 11(compat/compat)
Array.from() // errors with: ESLint: Array.from() is not supported in IE 11(compat/compat)
Object.assign() // errors with: ESLint: Object.assign() is not supported in IE 11(compat/compat) The other half of this issue (calling methods from literals) still appears to be broken: "abc".includes() // false negative
[].includes() // false negative |
@teepobharu given my above ^ comment I would suggest renaming this issue to "String and array literals not supported". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
[].includes()
,"strsd".includes()
Code
packge.json
test.js
.eslintrc.js
The text was updated successfully, but these errors were encountered: