:) You can create and execute a function for it...
let p = func_a(0); for (a=20;a<100;a=a+20) (function(a) { p=p.then((res)=>func_a(a)); })(a);
It's a bit crude, but it works
@Gordon 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.
:) You can create and execute a function for it...
It's a bit crude, but it works