¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 3 de 14 · Multimedia

Object Props

Kostas Diakogiannis

Object Props

Accessing Object properties

As is shown above there are 2 ways to gain access to an object's property. The . (or dot way) and the [' '] (brackets way).

Bear in mind that there is no difference between the two methods. This is only syntactic sugar, although when accessing by brackets we need to put the wanted property inside quotes as a string.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?