Underscore.js _.extendOwn() Function
The _.extendOwn() function is used to copy only own properties over to the destination object. This function is similar to the _.extend() function.
Parameters: This function accept two parameters as mentioned above and described below:
- destination: This parameter holds the destination object file.
- sources: This parameter holds the source object file.
Return Value: It returns a copy of own properties over to the destination object.