1 满足要求:
(1)左右一致
(2)右边是个东西(例如数据或者json)
2 使用详细代码
<!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 {a,b,c} = {a:11,b:22,c:33};
console.log(a,b,c);
let [d,e,f] = [444,555,666]
console.log(d,e,f);
</script>
</body>
</html>