scrimba
Learn Modern JavaScript
Explore Differences Between the var and let Keywords
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Explore Differences Between the var and let Keywords
AboutCommentsNotes
Explore Differences Between the var and let Keywords
Expand for more info
index.js
run
preview
console
var catName = "Quincy";
var quote;

var catName = "Beau";

function catTalk() {
"use strict";

catName = "Oliver";
quote = catName + " says Meow!";

}
catTalk();
Console
index.html
-2:02