실행시에는 문제가 되지 않지만, IDE에서 에러가 나는경우는 프로젝트폴더의 .project파일에 <nature>org.eclipse.wst.jsdt.core.jsNature</nature> 부분을 삭제하시면 됩니다. 



-JsHint throwing error regarding “Identifier expected after token”

AND