ocurry.js:咖喱命名参数函数

时间:2021-06-29 01:29:54
【文件属性】:
文件名称:ocurry.js:咖喱命名参数函数
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-29 01:29:54
JavaScript ocurry.js Curry 命名参数函数 用法 // Function that takes an object of argument-properties var request = function ( args ) { return args . protocol + ' ' + args . method + ' ' + args . host + args . path ; } ; var http = ocurry ( // Function to curry request , // Named arguments to curry { protocol : 'HTTP' } , // (Optional) required named arguments [ 'protocol' , 'method' , 'h
【文件预览】:
ocurry.js-master
----.jshintrc(299B)
----.gitignore(36B)
----package.json(1017B)
----LICENSE.md(548B)
----ocurry.js(4KB)
----.travis.yml(70B)
----.jshintignore(22B)
----README.md(2KB)
----.istanbul.yml(93B)
----.npmignore(137B)
----.gitattributes(40B)
----bower.json(610B)
----test()
--------ocurry.test.js(3KB)
--------module.test.js(1KB)
--------readme.test.js(1KB)
--------mocha.opts(14B)
----.editorconfig(208B)

网友评论