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 array creation bug in Array.slice implementation #198

Merged
merged 2 commits into from
Nov 3, 2019

Conversation

letmutx
Copy link
Contributor

@letmutx letmutx commented Oct 31, 2019

This PR fixes a bug introduced in #180 . While creating array, we need to set it's prototype as well.

A helper function new_array is added and all usages have been replaced.

@jasonwilliams jasonwilliams merged commit 5fbe67a into boa-dev:master Nov 3, 2019
@letmutx letmutx deleted the fix-slice-method branch November 3, 2019 14:49
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.

2 participants