|
1 yıl önce | |
---|---|---|
.. | ||
es | 1 yıl önce | |
lib | 1 yıl önce | |
LICENSE | 1 yıl önce | |
README.md | 1 yıl önce | |
index.d.ts | 1 yıl önce | |
package.json | 1 yıl önce |
Utility function to create a shallow copy of an object which had dropped some fields.
npm i --save omit.js
var omit = require('omit.js');
omit({ name: 'Benjy', age: 18 }, [ 'name' ]); // => { age: 18 }
Return a shallow copy which had dropped fields.
MIT