2011年11月19日 星期六

JavaScript保留字

保留字不可以用作變數、函數及物件名稱。

abstract
boolean
break
byte
case
catch
char
class
const
continue
default
delete
do
double
else
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
throws
transient
true
try
typeof
var
void
while
with

沒有留言:

張貼留言