• + 0 comments

    function getCount(objects) { let count = 0 const map = objects.map((item) => { if(item.x == item.y){ count +=1 } }) return count }