Extending JavaScript to better handle property and class inheritance.
obj
object...args
object
Copy all properties not defined in obj from arguments[1...n] to it.
obj
object...args
object
Copy all properties from arguments[1...n] to obj
, return the mixed result.
obj
objectsrc
objectexcept
array
Copy all properties from arguments[1...n] to obj
except the specific ones.
obj
object
Removes all enumerable properties from object.
name
stringsource
objecttarget
object
Copy property by name from source to target.
cls
functionbase
function
Derive the class from the supplied base class.
obj
objectexcept
array(string)
Extract properties by propNames
from obj
, return the extracted result.
obj
objectpath
string
Get property by path.