Testing Object for Properties

Does anyone know if you can you check more than one object at the same time with the .hasOwnProperty method?

Write a function that runs in a loop. Whatever matches it finds put them into an array and return it.

1 Like