JavaScript memetik dari array objek
let result = objArray.map(a => a.foo);
Index out of bounds
let result = objArray.map(a => a.foo);