We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code should return [true, true, true true] but in fact returns [true, false, false, true]:
[true, true, true true]
[true, false, false, true]
"use strict"; function F() { /* does nothing */ }; F.prototype = {foo: "F"} var G = F.bind(42); G.prototype = {foo: "G"} var f = new F(); var g = new G(); [f instanceof F, f instanceof G, g instanceof F, g instanceof G]
The text was updated successfully, but these errors were encountered:
Related, the bind polyfill from Mozilla is also unable to handle this:
new (Function.prototype.bind.apply(Date, [null, 100, 200, 300, 400]));
Which should equal:
new Date(100, 200, 300, 400)
Sorry, something went wrong.
No branches or pull requests
The following code should return
[true, true, true true]
but in fact returns[true, false, false, true]
:The text was updated successfully, but these errors were encountered: