Challenge: Reassigning a Variable
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 5