var array = [1,2,3]; print array; fn double(x: Int) { return x * 2; } array.forEach(double); print array;