It's possible right now if you send the relevant commands to the serial port yourself after the ESP8266 is initialiased. It's not part of the API right now, but I've made a bug for this: https://github.com/espruino/Espruino/issues/491
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.
It's possible right now if you send the relevant commands to the serial port yourself after the ESP8266 is initialiased. It's not part of the API right now, but I've made a bug for this: https://github.com/espruino/Espruino/issues/491