gss 1 es2015语法书写注意的坑 - nuanxin1111/react GitHub Wiki ##class创建类 类名首字母必须大写,不然会加载不出来 类中不能直接定义变量 constructor()函数中必须先要调用super()初始化父类