We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Same Line Declarations

You can declare multiple variables on the same line:

let miles = 80276, org = "Tesla";

The above is the same as:

let miles = 80276;
let org = "Tesla";

Assignment

At the top of the script, declare averageOpenRate and displayMessage in the same const declaration.

Initialize them to values (number and string):

  • 0.23
  • is the average open rate of your messages

before they're logged.