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

Fixed: Calling Array.prototype.toString() with anything other than a … #641

Merged
merged 1 commit into from Jul 26, 2019

Conversation

miroslav22
Copy link
Contributor

…real Array object throws a NullReferenceException

Another obscure one which prevents a polyfill library loading.

If you call Array.prototype.toString() with anything other than a real Array object then you get a NullReferenceException.

Changed method behaviour to match v8 engine and fall back to call base Object.prototype.toString() if passed something other than an array object

…real Array object throws a NullReferenceException
@sebastienros
Copy link
Owner

Weird that it's not covered by the existing tests.

@sebastienros sebastienros merged commit 531037a into sebastienros:dev Jul 26, 2019
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 this pull request may close these issues.

None yet

3 participants