# 이름

이름은 하나의 문자나 하나 이상의 문자, 숫자, _가 붙는 문자열로 문장, 변수, 매개변수, 속성, 연산자, 라벨 등에 사용이 됩니다. 다음의 예약어들은 이름이 될 수 없습니다.

  • abstract
  • boolean, break, byte
  • case, catch, char, class, const, continue
  • debugger, default, delete, do, double
  • else, enum, export, extends
  • false, final, finally, float, for, function
  • goto
  • if, implements, import, in, instanceof, int, interface
  • long
  • native, new, null
  • package, private, protected, public
  • return
  • short, static, super, switch, synchronized
  • this, throw, transient, true, try, typeof
  • var, volatile, void
  • while, with

위의 열거된 예약어는 실제로 프로그래밍을 할 때 변수로 사용하지 않습니다. 예약어는 이름이나 매개변수 이름으로 사용할 수 없습니다.