Close

Nagendra Rao

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

Inheritance in JavaScript

Introduction to Prototype: Prototype? Why this sudden change of topic? Not really! In javascript, inheritance is implemented through prototype, unlike other oop languages (for example, java, c++) where its class based inheritance. What is Prototype in JavaScript? A Prototype is a property that every object in JS possesses, it’s not set for a new object […]

Read More