I\'d like to create a function to filter objects using a for .. of statement and Object.entries.
for .. of
Object.entries
I wrote the code as follows, but in object[