Accessing Attributes
You can access the attributes of an object using the dot notation.
Taak
Swipe to start coding
- Access the
name
attribute of the objectdog1
; - Access the
breed
attribute of the objectdog1
.
Oplossing
Mark tasks as Completed
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Stel mij vragen over dit onderwerp
Vat dit hoofdstuk samen
Toon voorbeelden uit de praktijk
Awesome!
Completion rate improved to 12.5
Accessing Attributes
You can access the attributes of an object using the dot notation.
Taak
Swipe to start coding
- Access the
name
attribute of the objectdog1
; - Access the
breed
attribute of the objectdog1
.
Oplossing
Mark tasks as Completed
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4