You are viewing a single comment's thread. Return to all comments →
function getCount(objects) { let empty = 0; for (let i = 0; i < Object.keys(objects).length; i++) { if (Object.entries(objects)[i][1].x === Object.entries(objects)[i][1].y) { empty++ } } return empty }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 4: Count Objects
You are viewing a single comment's thread. Return to all comments →