模拟器上运行错误Prototype错误

在浏览器上运行正确
但是在模拟器上有这个错误
Simulator: 1468:mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
at a (E:\workspace\cocos2djs\NiuNiu\library\bundle.project.js?009:NaN:0)

你应该是使用了 es6 的语法来定义 class ,这个目前是不支持的