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

Can you please post a MCVE?

Does this happen in other editors, such as a basic text editor or the alpha web editor?