Variables In Javascript
const accountID = 1445
let accountEmail = "deba@gmail.com"
var accountPassword = "1245"
accountCity = "Cuttack"
let accountState;
//accountID = 2
accountEmail = "deba@yahoo,com"
accountPassword = "2255";
accountCity = "Bbsr";
/*
Prefer not to use var
because of issue in block scope and functional scope*/
console.table([accountID,accountEmail,accountPassword,accountCity,accountState]);
Comments
Post a Comment