class Test { constructor() { arr.map(function(x) { return x * x; }); } }