Replies: 1 comment
-
@rsarvis I'm not seeing any issues when running this: What version of RunJS are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry if this is not the proper place to ask this but...
I'm using RunJS to play with a line of code, but I'm getting an error that comes from trying to use the spread operator, so not sure what I'm doing wrong.
Shouldn't this work?
[...Array(10).keys()]
I just get
SyntaxError: Unexpected token (...:1)
so it's not accepting the Spread Operator. Is it a matter of the version of the language I'm using, and if so, how do I change that?Beta Was this translation helpful? Give feedback.
All reactions