Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between let, const, and var?



What is the difference between let, const, and var?..

Answer / glibwaresoftsolutions

Keyword Scope Can be reassigned? Hoisted?
var Function-scoped Yes Yes (initialized as undefined)
let Block-scoped Yes No
const Block-scoped No No

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

Is javascript case sensitive language?

0 Answers  


How can you identify a function?

0 Answers  


How to toggle display an html element?

0 Answers  


Which symbol is used for comments in Javascript?

0 Answers  


Are Javascript and JScript the same?

0 Answers  


Where do I put javascript in html?

0 Answers  


How can a Javascript code redirect the user to a different page?

0 Answers  


What is null in javascript?

0 Answers  


Which is best for front end?

0 Answers  


How about 2+5+"8"?

6 Answers   Satyam,


Why would you use a sticky session?

0 Answers  


How to find operating system in the client machine using javascript?

0 Answers  


Categories