-
[javascript] 41. 예약어(Reserved Keywords) - 자바스크립트 강좌 JS / CSEWeb/JavaScript 2015. 6. 13. 15:28
JavaScript Reserved Words
자바스크립트에서, 몇몇 식별자는 예약어여서 변수나 함수 이름으로 사용할 수가 없습니다.
1. JavaScript Standards
모든 현재 브라우저는 ECMAScript 3(ES3, thr third edition of JavaScript from 1999)를 완전히 제공합니다.
시간이 지남에 따라, 완벽한 ES5를 모든 브라우저에서 제공하게 되었습니다.
2. JavaScript Reserved Words
[ 출처: W3Schools ]abstract arguments boolean break byte case catch char class* const continue debugger default delete do double else enum* eval export* extends* false final finally float for function goto if implements import* in instanceof int interface let long native new null package private protected public return short static super* switch synchronized this throw throws transient true try typeof var void volatile while with yield 3. JavaScript Objects, Properties, and Methods
Array Date eval function hasOwnProperty Infinity isFinite isNaN isPrototypeOf length Math NaN name Number Object prototype String toString undefined valueOf [ 출처: W3Schools ]4. Java Reserved Words
getClass java JavaArray javaClass JavaObject JavaPackage [ 출처: W3Schools ]5. Windows Reserved Words
alert all anchor anchors area assign blur button checkbox clearInterval clearTimeout clientInformation close closed confirm constructor crypto decodeURI decodeURIComponent defaultStatus document element elements embed embeds encodeURI encodeURIComponent escape event fileUpload focus form forms frame innerHeight innerWidth layer layers link location mimeTypes navigate navigator frames frameRate hidden history image images offscreenBuffering open opener option outerHeight outerWidth packages pageXOffset pageYOffset parent parseFloat parseInt password pkcs11 plugin prompt propertyIsEnum radio reset screenX screenY scroll secure select self setInterval setTimeout status submit taint text textarea top unescape untaint window [ 출처: W3Schools ]6. HTML Event Handlers
onblur onclick onerror onfocus onkeydown onkeypress onkeyup onmouseover onload onmouseup onmousedown onsubmit [ 출처: W3Schools ]asdasdasd
'Web > JavaScript' 카테고리의 다른 글
[javascript] 44. 서식 API(Forms API) - 자바스크립트 강좌 JS / CSE (0) 2015.06.13 [javascript] 43. 서식 검사(Forms validation) - 자바스크립트 강좌 JS / CSE (0) 2015.06.13 [javascript] 42. JSON - 자바스크립트 강좌 JS / CSE (0) 2015.06.13 [javascript] 40. 성능(Performance) - 자바스크립트 강좌 JS / CSE (0) 2015.06.13 [javascript] 39. 실수(Mistakes) - 자바스크립트 강좌 JS / CSE (0) 2015.06.13 [javascript] 38. 좋은 지침(Bset Practices) - 자바스크립트 강좌 JS / CSE (0) 2015.06.13