没有合适的资源?快使用搜索试试~ 我知道了~
array-includes:Array.prototype。包括符合规范的polyfill
共27个文件
js:9个
yml:7个
md:2个
需积分: 12 0 下载量 94 浏览量
2021-04-30
00:44:55
上传
评论
收藏 15KB ZIP 举报
温馨提示
数组包含 符合ES7 / ES2016规范的Array.prototype.includes / polyfill / replacement可以使用到ES3。 该软件包实现了接口。 它在ES3支持的环境中工作,并符合建议的。 因为Array.prototype.includes依赖于接收方( this值),所以Array.prototype.includes出将数组作为第一个参数进行操作。 入门 npm install --save array-includes 用法 基本用法: includes(array,value [,fromIndex = 0]) var includes = require ( 'array-includes' ) ; var assert = require ( 'assert' ) ; var arr = [ 'one' , 'two' ] ; i
资源推荐
资源详情
资源评论
收起资源包目录
array-includes-main.zip (27个子文件)
array-includes-main
shim.js 345B
.eslintrc 425B
.github
FUNDING.yml 585B
workflows
node-zero.yml 2KB
node-pretest.yml 578B
node-iojs.yml 2KB
require-allow-edits.yml 193B
node-4+.yml 1KB
rebase.yml 257B
polyfill.js 163B
.npmignore 162B
LICENSE 1KB
test
shimmed.js 1KB
implementation.js 637B
tests.js 4KB
index.js 442B
README.md 3KB
auto.js 36B
.npmrc 19B
implementation.js 1KB
.editorconfig 276B
.gitignore 143B
index.js 779B
CHANGELOG.md 5KB
.eslintignore 10B
package.json 2KB
.nycrc 139B
共 27 条
- 1
资源评论
NinglingPan
- 粉丝: 19
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功