Array from args in node.js
Brodie Matthews
6月 17 2020 | 2:52 午後
Hii, just exploring node atm .Im trying to create an array with array from args in node but i receive an error 'array from args not defined' im using the basics node example with anything.
Support is much appreciated.
Brodie Matthews
6月 17 2020 | 4:33 午後
Iv passed a list..can i use .splice like "var array1 = array 2.splice(1)" ?
Brodie Matthews
6月 17 2020 | 4:49 午後
is it possible to 'let x = maxhandler'
Brodie Matthews
6月 17 2020 | 4:59 午後
or return maxhandler to declare var?
nick rothwell | project cassiel
6月 18 2020 | 2:47 午後
Do you mean likemaxAPI.addHandler("foo", (...L) => { ... something with list L ...})
?
Brodie Matthews
6月 18 2020 | 3:59 午後
Nick thanks!! I had to rewatch the workshop, Im still new to js in general.I have to unlearn the stadard js object methods...Thanks again for hosting, I hope there will be more in the future.
nick rothwell | project cassiel
6月 18 2020 | 4:18 午後
Thanks...! Yes, hoping to keep the Music Hackspace Max workshops going...