0.3.0 • Published 8 years ago
@jkroso/clone v0.3.0
clone
Supported types:
- date
- regexp
- array
- arguments
- object
- element
- string
- number
- boolean
Example
var obj = clone({
a: 'b',
c: [
new Date(),
'tobi',
'jane'
]
})
API
clone(obj)
Clones obj
recursively and returns it.
License
MIT
0.3.0
8 years ago