
안녕하세요,
2-6주차 map을 이용한 반복문 코드스니펫을 VS코드에 복붙하고 저장했는데, 휴대폰 화면에는 Unexpected token';' 이라고 하단에 나오구요,
VS 코드 터미널에는 다음과 같이 빨간색으로 오류메세지가 나옵니다.
혹시나 해서 프로젝트 전체 삭제하고 다시 처음부터 차근차근 코드스니펫 복붙했는데, 결과가 똑같이 나오네요...뭐가 문제일까요?
Unexpected token ';'
at node_modules\metro-runtime\src\modules\HMRClient.js:null in inject
at node_modules\metro-runtime\src\modules\HMRClient.js:null in injectUpdate
at node_modules\metro-runtime\src\modules\HMRClient.js:null in on$argument_1
at node_modules\metro-runtime\src\modules\vendor\eventemitter3.js:null in emit
at node_modules\metro-runtime\src\modules\HMRClient.js:null in _ws.onmessage
at node_modules\event-target-shim\dist\event-target-shim.js:null in EventTarget.prototype.dispatchEvent
at node_modules\react-native\Libraries\WebSocket\WebSocket.js:null in _eventEmitter.addListener$argument_1
at node_modules\react-native\Libraries\vendor\emitter\_EventEmitter.js:null in EventEmitter#emit
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __callFunction
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard$argument_0
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in callFunctionReturnFlushedQueue
