28 April 2023
id 986997551difference between defining available ( vs) declaring a variable (vs) initialising a variable in JavaScript
Defining 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';
Replymessage unavailable
Bro shuru shuru ka karna hai bas
Bata deta hu mai JAHa se DSA shuru ho raha hai
Replymessage unavailable
Фотография
click to show
click to show
Till 8 - switch case
Isko sahi se syntax seekhlo
Fir DSA me atleast syntax ko lekar dikkat nahi ayegi
ReplyDefining 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 javascri
Thx bro
Web Development Bootcamp
Ateeq😂😂😂😂Bro that course is updated. Just flex box is not there in css.
You can read about it from YouTube.
Baaki sab updated hai usme
ReplyBro that course is updated. Just flex box is not there in css.
You can read about it from YouTube.
Baaki sab updated hai usme
are you talking about the mega corse?