Files
CT/node_modules/component-clone/Readme.md
T
2026-08-30 16:15:14 +02:00

28 lines
271 B
Markdown

# clone
Object clone supporting `date`, `regexp`, `array` and `object` types.
## Example
```js
var obj = clone({
a: 'b',
c: [
new Date(),
'tobi',
'jane'
]
})
```
## API
### clone(obj)
Clones `obj` recursively and returns it.
## License
MIT