What board are you using? Looks like it's not an Espruino one given you're using the falling edge?
Some other boards have really cheap buttons that don't always work, and some may not have pullup/down resistors, which would mean than when not pressed the signal would 'float'
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.
What board are you using? Looks like it's not an Espruino one given you're using the falling edge?
Some other boards have really cheap buttons that don't always work, and some may not have pullup/down resistors, which would mean than when not pressed the signal would 'float'