FF和IE对js保留字class的支持
2009年04月8日
by 庆亮
0 comments
ff支持 var class(只测试了class), 而ie则不支持这样的写法. 备忘.
js关键字和保留字列表
1. 关键字
break, case, catch, continue, default, delete, do, else, finally , for, function, if, in, instanceof, new, return, switch, this, throw, try, typeof, var, void, while, with
2. 保留字
abstract
boolean
byte
char
class
const
debugger
double
enum
export
extends
fimal
float
goto
implements
import
int
interface
long
mative
package
private
protected
public
short
static
super
synchronized
throws
transient
volatile