1.0.1 • Published 3 years ago
@indlekofer/object_copy v1.0.1
@indlekofer/object_copy
Usage
import c from '@indlekofer/object_copy';
var obj = c({test1: 1, test2: 2, test3: 3}, ["test2", "test3"]);
console.log(obj); //=> {test1: 1}
Parameters
object: object source object
exclude: array with excluded keys from source