how to get array of array of object in javascript code example Example: how to get array from object in javascript Click to copylet result = objArray.map(({ foo }) => foo)