JavaScript/Ayrılmış kelimeler

JavaScript'te tanımlanmış ayrılmış kelimeler değiştir

JavaScript'in 5.1 sürümünde kullanılan anahtar kelimeler şunlardır:[1][2]

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

(*) ECMAScript5 itibariyle ayrılmış kelimeler

JavaScript'te kullanılan birkaç başka ayrılmış kelimeler değerlerdir:[1]

false null true

Kaynakça değiştir

  1. 1,0 1,1 "ECMA-262 5.1: ECMAScript Language Specification" 2011, Section 7.6.1: Reserved Words, (keywords, the two Boolean literals, the null literal, and future reserved words).
  2. "JavaScript Reserved Words". w3schools.com. http://www.w3schools.com/js/js_reserved.asp. Erişim tarihi: 2016-05-24.