understanding-es6
understanding-es6 copied to clipboard
destructuring assignment example without property value shorthand
Current example uses property value shorthand, which is little confusing for anyone new to es6. This new example exactly shows how the object destructuring actually works.