Cocos Creator
Editor.JS 
Extending JavaScript to better handle property and class inheritance.
Methods 
Editor.JS.addon (obj, ...args) 
- objobject
- ...argsobject
Copy all properties not defined in obj from arguments[1...n] to it.
Editor.JS.assign (obj, ...args) 
- objobject
- ...argsobject
Copy all properties from arguments[1...n] to obj, return the mixed result.
Editor.JS.assignExcept (obj, src, except) 
- objobject
- srcobject
- exceptarray
Copy all properties from arguments[1...n] to obj except the specific ones.
Editor.JS.clear (obj) 
- objobject
Removes all enumerable properties from object.
Editor.JS.copyprop (name, source, target) 
- namestring
- sourceobject
- targetobject
Copy property by name from source to target.
Editor.JS.extend (cls, base) 
- clsfunction
- basefunction
Derive the class from the supplied base class.
Editor.JS.extract (obj, propNames) 
- objobject
- exceptarray(string)
Extract properties by propNames from obj, return the extracted result.
Editor.JS.getPropertyByPath (obj, path) 
- objobject
- pathstring
Get property by path.
