<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
let array = [1,3,4,5]
let array2 = [2,6,7,8]
let newArray = [...array,...array2]
console.log(newArray)
</script>
</body>
</html>
报错为vscode 与 浏览器通信问题 没加网页小图标