ZRTECH SOLUTIONS

Best Selling Website Themes

44,00 

Add to cart

7,00 

Add to cart

7,00 

Add to cart

7,00 

Add to cart

Q. Explain is Scope in JavaScript?

In JavaScript, each function gets its own scope. The scope is basically a collection of variables as well as the rules for how those variables are accessed by name. Only code inside that function can access that function’s scoped variables.

A variable name has to be unique within the same scope. A scope can be nested inside another scope. If one scope is nested inside another, code inside the innermost scope can access variables from either scope.

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *

Best Selling Website Themes

44,00 

Add to cart

7,00 

Add to cart

7,00 

Add to cart

7,00 

Add to cart

0,00 

Add to cart

7,00 

Add to cart