-
Notifications
You must be signed in to change notification settings - Fork 2k
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
IE8 does not fully support according to the proposal for Array.prototype.splice #5004
Conversation
Hey @aleen42, thanks for the PR! However, I highly doubt that this issue was present in IE8 alone. Furthermore, we shouldn't be adding an additional compatibility statement for just the note alone; the note should be a part of the initial statement. I'll go ahead and do some more research to confirm its presence in older IE versions! |
@vinyldarkscratch 👌 |
Just did some tests. As I suspected, this was an issue that was present from IE 5.5 through IE 8. As such, we should write the note as follows: "From Internet Explorer 5.5 through 8, all elements of the array will not be deleted if |
@vinyldarkscratch And what |
The note shouldn’t be a separate compatibility statement — the new one with “version_added: 8” should be removed entirely, leaving just the one for IE 5.5, with the note there. It should look like so: "ie": {
"version_added": "5.5",
"notes": "From Internet Explorer 5.5 through 8, all elements of the array will not be deleted if <code>deleteCount</code> is omitted. This behavior was fixed in Internet Explorer 9."
} By the way, I noticed you were force pushing. If you’re force pushing to keep the commit log clean, we actually squash merge all PRs here, so there’s no need to consolidate your changes into one commit. 😉 |
@vinyldarkscratch Thanks for you suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And thank you for your quick changes! This is looking good to me, let’s get this merged!
Oh and, welcome to BCD!
According to #4996, hope to add a note for
Array.prototype.splice
to mention that IE8 has not fully support this method when the second parameter is omitted.