ES6 Tutorial - #5 Object Props & Destructuring

Publié le: 16 décembre 2017
sur la chaîne: Code Realm
2,040
49

00:18 POJO (Plain Old JavaScript Objects)
01:37 Property Shorthand
03:15 Method Properties
05:28 Property Naming Rules
06:06 Computed Property Names
08:52 Object Destructuring
11:12 Deep Object Destructuring
13:06 Object Parameter Destructuring in Functions
15:25 Array Destructuring
18:12 Array Parameter Destructuring
19:40 Deep Array Parameter Destructuring

Why don't we move on to object enhancements in ES6? There's quite a few. First, you can now use a shorthand for defining object properties and methods. Plus, you can also assign dynamic computed properties directly on your objects (You'll love it!). And last but not least, extracting object props and array elements is now a breeze with a new destructuring (aka matching) syntax. To the editor!

Still haven't grasped destructuing? Axel Rauschmayer wrote a whole chapter that might help you sink this in http://exploringjs.com/es6/ch_destruc...


Sur cette page du site, vous pouvez voir la vidéo en ligne ES6 Tutorial - #5 Object Props & Destructuring durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Realm 16 décembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,040 fois et il a aimé 49 téléspectateurs. Bon visionnage!