|
123456789101112131415161718192021222324252627 |
-
- # 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
|