숙제 : 자료의 순서가 변경되면 상세페이지도 고장나는 문제
let list = shoes.find(function(el){
return el.id == id
});
이렇게 == 으로 했을 때는 오류가 나지 않는데
let list = shoes.find(function(el){
return el.id === id
});
이렇게 === 으로 하면 Cannot read properties of undefined (reading 'title') 이라는 오류가 뜨고
터미널에는 Expected '===' and instead saw '==' 이라는 경고가 뜹니다.
===와 == 둘의 어떠한 차이가 있는지 궁금합니다.