Challenge: Reassigning a Variable
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 5