Challenge: Indexing
Oppgave
Swipe to start coding
- You have an array named colors that contains the following four colors in this exact order:
Red
,Green
,Blue
,Yellow
; - Print the first color in the array using
console.log()
. - Print the third color in the array using
console.log()
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 5. Kapittel 3