Challenge: Reassigning a Variable
Oppgave
Swipe to start coding
You're building a file downloader for a web app. When the download starts, the status message should display "Downloading..."
. Once the download is complete, the status message should change to "Download Complete!"
.
Reassign statusMessage
to "Download Complete!"
after the first console.log
statement.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 5