I see the workaround works in node as well. Thanks for the tip!
$ node > function foo() { ... for (var i = 0; i < arguments.length; i++) { ..... console.log(arguments[i]); ..... } ... } undefined > foo(1,2) 1 2 undefined > foo(100) 100 undefined > foo(1,2,3,4,5) 1 2 3 4 5 undefined >
@jrh started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I see the workaround works in node as well. Thanks for the tip!