What is the difference between var, let, and const?
Write a short code snippet to demonstrate the difference in scoping between var and let.
You can use any variables or any from inventory 😺
// Block Scope
{
console.log()
}
console.log()
// Function Scope
function my_stock(){
console.log()
}
console.log()