Dot Notation vs Array Notation in JavaScript:
We can use dot notation as well as array notation to access object properties.
The dot notation is used mostly as it is easier to read and comprehend.
Bracket notation allows us to access object properties using variable whereas dot notation does not.
Array notation is used in cases where we are not sure about the keys. For Example: There may be space in properties name.
Join Graphy/unacademy using this link https://www.graphy.com?fpr=pankaj96 and get best discounts on the courses.
En esta página del sitio puede ver el video en línea Dot Notation vs Array Notation in JavaScript de Duración hora minuto segunda en buena calidad , que subió el usuario SALESFORCE PREDATOR 01 enero 1970, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 956 veces y le gustó 19 a los espectadores. Disfruta viendo!