📅 2023/7/10
includes()方法用来判断一个数组或字符串中是否包含一个指定的值 如果包含返回true,否则返回false。
includes(searchElement) includes(searchElement, fromIndex)
searchElement:需要查找的值 fromIndex(可选):开始搜索的索引
进行幂运算,相当于Math.pow()
← 🚀数组 🚀ES8 →