Merges default target object into source.
- Source:
Methods
-
(static) defaults(target, source) → {object}
-
Merge all default properties into target.
Parameters:
Name Type Description target
object The object to merge into. source
object The defaults object that will be merged. - Source:
Returns:
The target object.- Type
- object