How to declare a constant in Processing editor & p5.js? (reported issue)

Can you add "use strict"; as the first line in your sketch? Not sure if it would help, but that is that first thing I would try. I am also very curious to know what editor you are using.

Kf