-
arrow function not working
Adobe says that you can use arrow functions in expressions.
But if I try to do
r=(x) => Math.round(x*100)/100
I get an error: “> does not have a value”
Whereas this works in normal JS environment.If I do
function r(x) {return Math.round(x*100)/100};
it works fine.Am I missing something?