const let var
var greeter;
console.log(greeter); // greeter is undefined
greeter = "say hello"
const let var
var greeter;
console.log(greeter); // greeter is undefined
greeter = "say hello"
const let var
var makes real ice cubes that rattle around in New York
let makes real ice cubes in Manhatten
const is like let but the ice cubes never change because they are plastic
what is the different between var and let and const in js
var tester = "hey hi";
function newFunction() {
var hello = "hello";
}
console.log(hello); // error: hell
o is not defined
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us