JS给多个变量同时赋值

let [a, b, c] = [5, 8, 12];
console.log(a, b, c) // 5, 8, 12
原文地址:https://www.cnblogs.com/lyt520/p/14626922.html