array-example.x10 59 B

12
  1. val doubleIt = (i:Int) => i * 2
  2. new Array[Int](5, doubleIt)