代码的优雅的写法

let cmd = { a: 1, b: 2 };
let { a:a1 = 0, b:b1 = 3, c:c1 = {} } = cmd;

  

漫思
原文地址:https://www.cnblogs.com/sexintercourse/p/14983373.html