【文件属性】:
文件名称:node-no-nil:从对象和数组中删除nil值。 将所有其他nil值转换为null
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-08 01:58:04
JavaScript
没有零
从对象和数组中删除nil值。 将所有其他nil值转换为null。
例子
var noNil = require ( 'no-nil' ) ;
var input = [ 1 , undefined ] ;
console . log ( noNil ( input ) ) ; // [1];
##执照
The MIT License (MIT)
Copyright (c) 2015 Joseph Spencer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restric
【文件预览】:
node-no-nil-master
----.jshintrc(380B)
----test.js(933B)
----.npmignore(82B)
----.travis.yml(148B)
----LICENSE(1KB)
----README.md(2KB)
----no-nil.js(219B)
----.gitignore(264B)
----package.json(841B)