Hello.
I am trying to get Math.mean() to work but it keeps crashing.
The following code works fine:
var untypedArray = new [0];
untypedArray.add(0);
untypedArray.add(1);
untypedArray.add(2);
var mean = Math.mean(untypedArray);
The following code crashes with: Error: Invalid Value Details: Cannot convert object to Double