CopyTo
copy an object's properties to another one, include propertiy, getter and setter.
Install
npm install copyto
Usage
;;; ;;; ;;; ;;; ;;;
It won't copy access(getter / setter) by default, if you want to copy them, please use:
;;
Example
var copy = ; var src = _name: 'foo' { this_name = val; } { return this_name; } { console; }; var des = _name: 'bar'; ;;;;
License
MIT