array-wrap:包装到阵列

时间:2021-05-22 09:55:30
【文件属性】:
文件名称:array-wrap:包装到阵列
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-22 09:55:30
JavaScript 数组包装 包装到阵列 安装 $ npm install --save array-wrap 用法 var wrap = require ( 'array-wrap' ) ; wrap ( 0 ) ; //=> [0] wrap ( 'a' ) ; //=> ['a'] wrap ( [ ] ) ; //=> [] wrap ( [ 'x' , 'y' , 'z' ] ) ; //=> ['x', 'y', 'z'] wrap ( null ) ; //=> [] 执照 麻省理工学院:copyright:Jun Sato
【文件预览】:
array-wrap-master
----.jshintrc(1KB)
----.gitignore(27B)
----package.json(566B)
----.travis.yml(72B)
----LICENSE(1KB)
----index.js(245B)
----README.md(503B)
----test()
--------test.index.js(2KB)
--------mocha.opts(25B)
----.editorconfig(188B)

网友评论