bind-last:将后数据功能转换为`

时间:2021-04-29 06:17:05
【文件属性】:
文件名称:bind-last:将后数据功能转换为`
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-29 06:17:05
JavaScript 最后绑定 将后数据功能转换为:: -functions 这是一个转换器函数,用于使最后一个函数与 安装 $ npm install --save @thisables/bind-last 用法 import { bindLast } from '@thisables/bind-last' ; const data = { id : 1 , name : 'foo' } ; const hasPropLast = ( prop , data ) => ! ! data [ prop ] ; const hasThisLast = hasPropLast :: bindLast ( ) assert . strictEqual ( data :: hasThisLast ( 'name' ) , true ) ; assert . strictEqual ( data :: hasThis
【文件预览】:
bind-last-master
----.gitignore(57B)
----tests()
--------test.js(380B)
----module()
--------index.js(214B)
----.gitattributes(12B)
----.tachikoma.yml(34B)
----.jshintrc(170B)
----package.json(1012B)
----readme.md(1KB)
----.babelrc(17B)
----.travis.yml(60B)
----.editorconfig(228B)
----license(1KB)

网友评论