
5강 과일리스트 코드스니펫을 복사해서 따라해보았는데 에러가 계속 떠요. 어디서 잘못된 걸까요?

작성한 코드 및 에러 메세지
let fruit_list = ['사과','감','감','배','포도','포도','딸기','포도','감','수박','딸기']
let count=0
for (let i=0; i<fruit_list.length; i++)
{if (fruit_list == 딸기)
{count +=1} }
console.log(count)
VM678:4 Uncaught ReferenceError: 딸기 is not defined
at <anonymous>:4:20
