UNPKG
handy
Version:
latest (0.0.13)
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Common utility functions
github.com/openmason/handy
openmason/handy
handy
/
examples
/
deepmerge.js
5 lines
(4 loc)
•
133 B
JavaScript
View Raw
1
2
3
4
5
var
handy =
require
(
'..'
);
var
x = {
a
:
1
,
p
:{
a
:
5
}}, y={
b
:
2
}, z={
a
:
4
,
c
:
5
,
p
:{
a
:
3
,
b
:
11
}};
var
r = handy.
deepMerge
(x,y,z);
console
.
log
(r);