Explore Differences Between the var and let Keywords
Here’s my source code:
let catName;
let quote;
function catTalk() {
"use strict";
catName = "Oliver";
quote = catName + " says Meow!";
}
catTalk();
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Challenge: Explore Differences Between the var and let Keywords
Link to the challenge:
Why I copy source code but error in catSound
? (catSound should be the string Meow!)
This is the first time I write to get help in freecodecamp forum. Thank you very much!