@Gordon and @Wilberforce, thanks for the input. Yes, I already used the literal. This was some 'old' code, I guess it was before literals were available... The only change to the code was the EYE/S to LIGHT and RADAR to Engine (STOP). ...Never happened to me that I could reuse code this easy.
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.
@Gordon and @Wilberforce, thanks for the input. Yes, I already used the literal. This was some 'old' code, I guess it was before literals were available... The only change to the code was the EYE/S to LIGHT and RADAR to Engine (STOP). ...Never happened to me that I could reuse code this easy.