es7持续补充
程序员文章站
2022-05-11 10:51:17
...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script>
//指数运算符号
console.log(3**3)
//判断数组中是否包含指定value
const arr= [1,2,3]
console.log(arr.includes(1))
console.log(Array.prototype.includes.call(arr,2))
</script>
</body>
</html>
上一篇: HTML5表单