In this lesson we look at, Understanding JavaScript Getter Method, Using JavaScript Getters Method, Codecademy Learn JavaScript. This is based on Codecademy's Advanced Objects section, lesson, "Getters". In it, we learn the importance of understanding JavaScript Getters. We learn that Getters are a type of method that will get and return the internal properties of our objects. We also learn that we can use Getters for more! We learn that getters can perform actions on data when getting properties from our objects. We also learned that getters can return to us different values using conditionals. Using getters allows easier more readable code for other developers working on the project. Properties are not able to share the same name as our getter/setter function. Keeping these things in mind when learning about getter methods in javascript will help you master getter methods and setter methods. Make sure to practice using getter functions in your code to truly see how it works with your code. Practice using getter methods in JavaScript and practice using different data types to get comfortable writing JavaScript getters and setters.
En esta página del sitio puede ver el video en línea Understanding JavaScript Getter Method, Using JavaScript Getters Method, Codecademy Learn JavaScript de Duración hora minuto segunda en buena calidad , que subió el usuario We Will Code 22 marzo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 269 veces y le gustó 5 a los espectadores. Disfruta viendo!