var extraCube =function(x){ if (x instanceof Array){ x = x.map((x) => x*x*x); }else{ x = x*x*x; } return x }