You are viewing a single comment's thread. Return to all comments →
In JS
function getCount(objects) { let count =0 for(const obj of objects){ if(obj.x===obj.y){ count++; } } return count; }
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 →
In JS