Video- what is let statement in JavaScript

In this video , learn “what is let statement in JavaScript “

 

Since, I have recorded this video in Starbucks, there is some noise. I am sorry for that.


function abc()
{
var foo = 9;
if(true){
let foo = 89;
console.log(foo);
}
console.log(foo);
}
abc();

view raw

letstatement.js

hosted with ❤ by GitHub

feedback?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com