I would prefer to get a 'undefined' instead of an empty string. This way its easier and cleaner to decide if the operation was successful and what actions to take. e.g. send 200 vs. 404.
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.
I would prefer to get a 'undefined' instead of an empty string. This way its easier and cleaner to decide if the operation was successful and what actions to take. e.g. send 200 vs. 404.