GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 3 von 14 · Medien

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.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck