Sun 2019.12.15
'Is there espruino equivalent ?'
It is actually a Javascript language method.
W3Schools is where I go.
https://www.w3schools.com/jsref/jsref_from.asp
There is even a 'Try It' button to click!
Reference link for Array handling:
http://www.espruino.com/Reference#l_Array_Array
Thanks for replying
unfortantly it does like Array.from unless is need to done a slight different way in espruino
Uncaught Error: Function "from" not found! at line 7 col 19 var myArr = Array.from("ABCDEFG");
@ThePlayShed 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.
Sun 2019.12.15
It is actually a Javascript language method.
W3Schools is where I go.
There is even a 'Try It' button to click!
Reference link for Array handling: