Basic JavaScript - Explore Differences Between the var and let Keywords

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
let catName;
let catSound;
function catTalk() {
"use strict";

catName = "Oliver";
catSound = catName + " says Meow!";
}
catTalk();
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Explore Differences Between the var and let Keywords

Link to the challenge:

Do you have a question?

You added code you were not asked to add. All you have to do is replace var with let in the starting code.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.