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

Number range expression is not compiled accordingly #252

Closed
dm4t2 opened this issue Apr 18, 2020 · 1 comment
Closed

Number range expression is not compiled accordingly #252

dm4t2 opened this issue Apr 18, 2020 · 1 comment

Comments

@dm4t2
Copy link

dm4t2 commented Apr 18, 2020

[...Array(10).keys()] compiles to [].concat( Array(10).keys() ) which returns not the expected array [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]. Instead the compiled expression returns [Array Iterator].

@mourner
Copy link
Collaborator

mourner commented May 29, 2020

Duplicate of #131

@mourner mourner marked this as a duplicate of #131 May 29, 2020
@mourner mourner closed this as completed May 29, 2020
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

No branches or pull requests

2 participants