8-1reverse8-2includes查找数组中是否存在某值(返回值为boolean值) 8-1reverse<script> var arr=[1,2,3] console.log(arr.reverse())</script>//[3,2,1] 8-2includes查找数组中是否存在某值(返回值为boolean值)<script> var arr=[1,2,3] console.log(arr.includes(4))//返回值为boolean值</script>