标签:subclass nts ... nbsp sch creat arguments 继承 str
判断是否继承
cc.isChildClassOf = function (subclass, superclass) {
获取所有super classes
CCClass.getInheritanceChain = function (klass)
cc.js下有很多判断方法
判断是否是数字
cc.js.isNumber
字符串
cc.js.isString
copy all properties from arguments[1...n] to obj
cc.js.mixin
标签:subclass nts ... nbsp sch creat arguments 继承 str
原文地址:http://www.cnblogs.com/pengyingh/p/6708298.html