clone-into
Getting started
$ yarn add clone-into
or
$ npm install --save clone-into
If it execute on Google Chrome or other browsers, this function return an argument obj as it is.
const cloneInto = require('clone-into')
const obj = { data: [ 1, 2, 3 ] }
const clonedObj = cloneInto(obj, document.defaultView)
Features
- TypeScript built-in supports
See also
License
MIT © Emoji Generator