📜  多重赋值 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:49.528000             🧑  作者: Mango

代码示例1
// Longhand
let a, b, c; 
a = 1; 
b = 2; 
c = 3;
 
// Shorthand 
let [a, b, c] = [1, 2, 3];