hai, bro. thanks for your teaching way .but still, I not able to understand let and var bro.I am getting doubt. we can initiate it, var and let local and global right. var is a function scope and let is a block scope. we can use let also function scope right with the global declaration. then, var also we can use local and global and let also we can use local and global. but still, I am getting confusion. 1).VAR Example. var a=2 function local() { var a=10; console.log(a); } console.log(a); 2) let example: let a=2 function local() { let a=10; console.log(a); } console.log(a); I am getting output var and let the same output. if I use local and global var and let. then what is the difference between var and let?
Example 1 -> if you dont declare var a=10 in function, you can get output is 2 and 2, Example 2 -> if you dont declare var a=10 in function, you can get output is undefined and 2.
Thanks bro
Bro, really awesome teach, tq
Thank you. Keep supporting our channel.
superb bro.. thank you
Keep showing your support.
Your way of teaching is very nice bro
Thank you tharun
Good explanations brother.
Glad it was helpful!
Really great explanation bro... thank you
Thank you keep supporting and share with your friends.
Bro react js la regux search la use pana solluga bro
Will do soon
react js freshers interview ques and ans post pannunga bro
Yeah kandipa
Bro variable ku intial aa values set pandrathuthaana? Intialization
no that is called declaration. creating a variable is called Intialization
Anna Datastructure ,oops conscept using js video podunga
Yeah sure will make it soon
bro unga techieegy course -ha flutter la make pandaringala bro pls
@@antonfrancisjeejo thnx bro i am very interesting
jeejo
Bro ungaloda email kuduga bro
You can see in the about section.
hai, bro. thanks for your teaching way .but still, I not able to understand let and var bro.I am getting doubt. we can initiate it, var and let local and global right.
var is a function scope and let is a block scope. we can use let also function scope right with the global declaration. then, var also we can use local and global and let also we can use local and global. but still, I am getting confusion.
1).VAR Example.
var a=2
function local()
{
var a=10;
console.log(a);
}
console.log(a);
2) let example:
let a=2
function local()
{
let a=10;
console.log(a);
}
console.log(a);
I am getting output var and let the same output. if I use local and global var and let. then what is the difference between var and let?
Example 1 -> if you dont declare var a=10 in function, you can get output is 2 and 2, Example 2 -> if you dont declare var a=10 in function, you can get output is undefined and 2.
hi bro...