var { iWantThis: { andThis, andThisToo } } = x;
Is there a way to get access to all three in one destructuring call? I want to avoid two calls like so:
var { iWantThis } = x;
var { andThis, andThisToo } = iWantThis;
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…