filmov
tv
Property Value Shorthand, Advanced Objects in JavaScript, Codecademy Learn JS, ES6 Destructuring
Показать описание
Today we look at Property Value Shorthand, Advanced Objects in JavaScript, Codecademy Learn JS, ES6 Destructuring. This lesson is based on Codecademy's Learn JavaScript course, Advanced Objects section, lesson, "Property Value Shorthand". In it, we learn a new way to assign properties. The JavaScript ES6 Property Value Shorthand allows us to omit key-value pairs when assigning properties and allows us to use destructuring syntax to do the same thing. Using the destructuring technique, property value shorthand allows us to get rid of the colon and repeated value name we learned to use in the previous lessons. Make sure to practice using property value shorthand to get used to how it works. Understanding JavaScript property Value Shorthand is key in becoming a cleaner JavaScript developer and will save you time when coding. Learning to use property value shorthand is a helpful skill to have when writing JavaScript code. Make sure that you understand how to read property value shorthand before moving on, as you will probably see it regularly in projects you work on. If you still wonder what is property value shorthand after watching this lesson, make sure to compare this video to the previous videos, as they cover similar themes regarding advanced objects in JavaScript. Hopefully, that helps you understand Property Value Shorthand, Advanced Objects in JavaScript, Codecademy Learn JS, ES6 Destructuring!