分割代入
code:js
const arr =
1, 2, 3
;
const
a, b, c
= arr;
code:js
const obj = { x: 1, y: 2, z: 3 };
const { x, y, z } = obj;
#JS