-
console.log();이렇게하면 is not defined 오류가 생길 수 있다.이렇게 php를 중간에 썻는데 값은 나오지만 오류가 나는 경우 php문을 따옴표로 한번 더 감싸준다console.log('');이렇게 감싸주면 오류도 안나온다