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

Calling new Array with 1 argument doesn't work properly #209

Closed
IovoslavIovchev opened this issue Nov 17, 2019 · 2 comments · Fixed by #328
Closed

Calling new Array with 1 argument doesn't work properly #209

IovoslavIovchev opened this issue Nov 17, 2019 · 2 comments · Fixed by #328
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@IovoslavIovchev
Copy link
Contributor

The spec describes that new Array(5) should create an array with 5 empty elements/slots. Currently, it produces [5].

@nasso
Copy link

nasso commented Feb 15, 2020

I'm working on it!

@nasso
Copy link

nasso commented Feb 15, 2020

@nasso Woops nevermind didn't see the above PR!

@HalidOdat HalidOdat self-assigned this Apr 16, 2020
HalidOdat added a commit to HalidOdat/boa that referenced this issue Apr 17, 2020
Razican added a commit that referenced this issue Apr 29, 2020
* fix issue 209 "Calling Array with one argument"

* Update boa/src/builtins/array/mod.rs

Co-Authored-By: Iban Eguia <[email protected]>

* Changed from unimplemented to panic in array

Co-authored-by: Iban Eguia <[email protected]>
@Razican Razican added this to the v0.8.0 milestone Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants