Javascript Modules es6

Javascript Modules es6. A module is a script file that performs functionality that becomes loaded into the main script using export and import directives. Module encapsulates the functionality and presents it to other JavaScript files as libraries. The export keyword is used to label variables, functions, etc. that necessary to be accessible outside that module, […]

What is inheritance in javascript

What is inheritance in javascript? This article presents and figures on Inheritance in JavaScript. Inheritance is thought in the object-oriented programming language where a class inherits the property or operation of another class. The inheritance concept helps in reusing the fields and methods of the class that is inherited. This helps in code reusability and […]

How to create constructor in javascript

How to create constructor in javascript. The constructor approach in JavaScript is a proper method used to create and initialize objects inside a class. That is what a constructor in each programming language takes. What does JavaScript constructor different from others is the rest of the syntax? To understand it properly, just open the browser […]

How to use pointers in javascript

This article presents an outline of Pointers in JavaScript. In JavaScript, most of the things are Objects whether we analyze arrays, functions, etc, hence it is held as an Object-Oriented Programming Language. The only elements that are not objects are primitive data types. Primitive data types are permanent, and objects are changeable elements. What are […]