let fruits = ["apple", "banana", "coconut"] Js.Array2.forEach(fruits, f => Js.log(f))