@Gordon: Thanks so much for your contribution to this product.
I am an experienced JS developer, but new to espruino. I understand that espruino is not 100% of any JS spec, and that it has implemented a few ES6 constructs (such as arrow functions, template strings, etc.).
I am using the IDE (ver 0.70.4) with projects enabled, allowing me to define/use my own modules.
My experience is the the supported espruino ES6 constructs are ONLY AVAILABLE in the main code that is deployed to the MCU. Using something like arrow functions or template strings:
WORK when it is in the main code
ERROR (at MCU deployment time) when they are found in a module
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.
Hello,
@Gordon: Thanks so much for your contribution to this product.
I am an experienced JS developer, but new to espruino. I understand that espruino is not 100% of any JS spec, and that it has implemented a few ES6 constructs (such as arrow functions, template strings, etc.).
I am using the IDE (ver 0.70.4) with projects enabled, allowing me to define/use my own modules.
My experience is the the supported espruino ES6 constructs are ONLY AVAILABLE in the main code that is deployed to the MCU. Using something like arrow functions or template strings:
Thoughts?
Your help is greatly appreciated.
Kevin