Uncaught SyntaxError: Illegal return statement 오류 - JavaScript 전역 범위(Global Scope)에 리턴을 쓸 경우 나타나는 오류이다. 즉, 어딘가 괄호가 열려있다는 뜻이다. JavaScript 2020.09.18