#25 Local-Global Variable | Default Value in JavaScript

preview_player
Показать описание

More Learning :

Рекомендации по теме
Комментарии
Автор

i invested my whole day with this playlist and understood new concepts 😀
thank you sir😁

clanhindustan
Автор

we can do
let add = function(num1, num2) {
return num1 + num2;
}
console.log(add(5, 6));//no need to create another result variable

milankbudha
Автор

Hello Navin reddy,

I recently got a job as Java developer. Thank you soo much for your videos

bindug
Автор

You are doing so well..explanation method is amazing..very thankful to you sir..❤❤❤

FarhanAli-kmid
Автор

Best js tutorial in the planet..just majja👏👏💯💯✨✨✨🐐❣️

sharoonps
Автор

Sir, waiting for this entire Javascript lecture series.

livingentropy
Автор

by default undefined is assigned to any variable because javascript does not know beforehand what data type it is unless you have manually specified it

yashesh
Автор

It's really helpful for the beginner.

AkankshaKothari-opxg
Автор

I just thought of giving u the 1st view... So ya! 😃😃

OAOOSharanyaGanji
Автор

It is 25th episode and there are 25 comments in total now....

Its__AnkitSahu
Автор

Sir it would really be halpful if u start a tutorial on Data science

balajimelagiri
Автор

Thank you Sir for this tutorial, however, the idea of let variable being hoisted is wrong because if you did it this way( function greet(n){
console.log(user)
return `this is n ${n}`
}

let str=greet('me');
let user='Bounty'
console.log(str);) it won't work. Only 'var' declarations are hoisted to the global object

chisomchukwuma
Автор

Let user = "admin" ---> global var

function add(num1, num2, num3)-->local var
{
return num1+num2+num3
let tech = "javascript"
}
let res = add(25+25+25)
console.log(add) -->execute
console.log(user) -->execute
console.log(tech) -->undefined

guideline
Автор

Please do more videos on js Naveen Reddy garu

asokthegreat
Автор

i got a chance to comment fast today
hai naveen sir....

MrMarlaReddy
Автор

Plz make on vdo to check sudoku ki valid Or not
Most important thing is time complexity must 0(n) only

poornimasingh
Автор

Hello Sir, please please please please compiling apache theory

rithikanair
Автор

How to change value of a global variable inside function and then use changed value outside function.

vivekghorad
Автор

Why does the function not explicitly return the value without the need for the return keyword?

Martin
Автор

Sir pls make a full crash course on full stack development pls pls pls

Berozgar__engineer