Looking at the array provided below, I am trying to extract every property from it:
let arr = [{'John': 0}, {'Doe': 50}, {'Marry': 100}]
Is there a way to retrieve each key/value pair without prior knowledge of them? I attempted using object.keys, but it returned the array indexes instead.