摘要: 一、Array.prototype.includes() 1、概述: 用于判断数组中是否包含指定元素,有就返回true,没有则返回false。 2、语法: arr.includes(searchElement); 3、参数: arr.includes(searchElement,fromIndex) 阅读全文
posted @ 2018-04-03 16:10 $坐看云起$ 阅读(438) 评论(0) 推荐(0) 编辑