call spread operator giving error in node console

319 views
Skip to first unread message

gaurav khurana

unread,
Feb 27, 2015, 2:30:07 AM2/27/15
to traceur-comp...@googlegroups.com
i am trying to cal a function with following parameters


myfunc(...[1,2,3,4,5]) ;
       ^
SyntaxError: Unexpected token .
    at Module._compile (module.js:439:25)

Kindly let me know this features is still not implemented
Thanks
gaurav

Erik Arvidsson

unread,
Feb 27, 2015, 9:21:22 AM2/27/15
to traceur-comp...@googlegroups.com
"node console" as in node on the command line?

We used to have a node like repl but it bitrotted away.

In other words. This is not working because we do not do anything to
the node console.
> --
> You received this message because you are subscribed to the Google Groups
> "traceur-compiler-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to traceur-compiler-d...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
erik

John J Barton

unread,
Feb 27, 2015, 10:55:36 AM2/27/15
to traceur-comp...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages