Hi, progressing slowly but surely with xstate for Espruino. But got a problem trying to find a method in Espruino to return the name of a function.
Looks like function.name is not supported
also many of the polyfills and work arounds parse the name out of function.toString() But Espruino does not put the function name in the function.toString output.
Its not a show stopper , but any ideas would be appreciated.
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.
Hi, progressing slowly but surely with xstate for Espruino. But got a problem trying to find a method in Espruino to return the name of a function.
Its not a show stopper , but any ideas would be appreciated.
1 Attachment