【文件属性】:
文件名称:object-except:从对象中删除指定的属性并返回
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-09 05:35:38
JavaScript
对象除外
从对象中删除指定的属性,然后将其返回。
安装
$ npm install --save object-except
例子
var objectExcept = require ( 'object-except' ) ;
var obj = {
bar : 'foo' ,
foo : {
bar : 'foo'
} ,
foobar : 'foobar'
} ;
console . log ( objectExcept ( obj , [ 'bar' , 'foo.bar' ] ) ) ;
// { foobar: 'foobar' }
执照
麻省理工学院:copyright:
【文件预览】:
object-except-master
----.gitignore(13B)
----package.json(981B)
----.travis.yml(60B)
----LICENSE(1KB)
----index.js(974B)
----test.js(1KB)
----README.md(556B)
----.gitattributes(12B)
----.editorconfig(230B)