I use the p5.js mode on Processing 3.5.4, and run a sample “ex02_Multiple_Objects” from a Objects group.
I get the following error:
SyntaxError: Expected an operand but found class.
If I open index.html on a browser (Chrome and Safari) from a sketch folder, it works fine.
I can not understand the reason. Is this the specification of the p5.js mode on Processing IDE? Is it unable to define objects using a “class” keyword on the p5.js mode on Processing IDE?
Thank you in advance.