The former will return 'undefined', which means the promise will execute immediately, but the latter returns the promise returned by func_a which should allow chaining
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.
Could it be that you're doing:
and not:
The former will return 'undefined', which means the promise will execute immediately, but the latter returns the promise returned by func_a which should allow chaining