pluck object javascript code example Example: javascript pluck from array of objects let result = objArray.map(a => a.foo);