• + 0 comments

    function getCount(objects) { let count=0; for (let o of objects){ if(o.x==o.y){ count++; } } return count; }