I'm attempting to write a JS Expression in the JS Expression Builder in IPD and am encountering the following exception "missing ; before statement (Expression#1)".
I understand this error can also be a consequence of a syntax error or other error, but no apparent syntax errors or missing semicolons appear in the expression. I've tested the same the expression in Chrome, Firefox and NodeJS and no such exception occurs.
However, the expression does include a class declaration, and I've noticed that even an empty class declaration alone throws the same exception.
Anyone know if class declarations restricted in IPD JS expressions? I've also tried a class expression and encounter the same exception.