摘要: 1 ES2016(ES7) 1.1 Array.prototype.includes() includes() 方法用来判断一个数组是否包含一个指定的值,如果包含则返回 true,否则返回 false。 1.1.1 语法 arr.includes(valueToFind[, fromIndex]) 阅读全文
posted @ 2022-03-25 11:21 上善若泪 阅读(64) 评论(0) 推荐(0) 编辑