Close

Javascript

JS-Variable Scope

Types of JavaScript variables: There can be two types of variables in JS, ● local variable ● global variable Scope of a variable: A variable’s scope is simply the context in which the said variable exists and is accessible. Local variables have function level scope, whereas global variable, ie., the variables declared outside function definition, […]

Read More