-
Get Particular Object Property Within Javascript Array
I have some object within javascript array and I need to get all data only the name or whatever property inside the object. Usually I iterate entire array and append selected property into new empty array. Below is the code example. And code below is the alternative using map. Reference: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/map