Aug 22, 2017 · 1 min read
Do you support deep-destructuring?
const {var1: {var2}} = objshould we not resort to libraries like lodash for this case?
const var2 = _.get(obj, ‘var1.var2’)Appears like es6 Deep destructuring, atleast, is an anti-patterns as it leaves loop holes for undefined errors!