New Grad Role at Facebook For FrontEnd

Encountered the age-old issue, emitter.

Then there’s another problem, probably a glitch here. I used two loops to solve it…
Given a list [{type: phone, color: gold, name: iphone}, {type: phone, color: blue, name: iphone}, {type: tv, color: blue, name: samsung}]
And another list of excludes [{k:color, v:gold}, {type, v:tv}]

Based on the parameters in excludes, remove all items in the input that meet the criteria, and return those that do not meet the criteria.