Web Development Bootcamp
Replymessage unavailableDefining and declaring is same
Initialising means give some value to that declared variable
If i am saying you to declare a variable
So you will declare variable using let const or var keywords okayy
If i am saying bro please initialise this variable with some value.
But in javascript javascript automatically assign undefined to a variable , so it actually declare and initialise there automatically
But ,
Define or declare is same
It is like , we are declaring war against the world , means they are saying only
But when they will start so it means initialising
So declare a variable or define a variable
let name;
Initialise a variable with some value
let name = 'Ran';