fetch unique properties of objects from array of object javascript code example Example: python get ids from array of objects [element["id"] for element in data]