Copies all properties from the source to the destination object.
Implemented in: | $paramimplemented |
Client: | Supported |
Server: | Supported |
JavaScript: | 1.8 |
ECMAScript: | 5 Edition |
Syntax
Object.extend( dest, src )
Parameters
Parameter | Description |
---|---|
dest | Object to be extended |
src | Object to copy properties from |
Description
Object.extend does not clone destination object. It modifies it in-place.
Returns
Returns destination object.