How to setup electron on windows

What is Electron ? Electron is framework to develop the native desktop application for all major platforms (windows, Mac and Linux)  using HTML , CSS and Javascript. How to Install Electron? To install Electron , we need to install nodejs and npm . To check if NodeJs...

Arrow functions in Javascript

In ECMAScript 2015 , also known as ES6 , many new features were introduced. One of the feature which get introduced was “Arrow Functions”. /********* Traditional way *************/ var func1 = function old(x,y) { return x+y; } /************* New way...

Closure in Javascript

Closures is concept functions have access to variables that were available in the scope where the function was created. To understand it fully below are the set of examples which will help you to understand: var Car = function(model){ this.model = model; // member...

Objects in javascript for beginners

Objects in JavaScript, just as in many other programming languages, can be compared to objects in real life.In JavaScript, an object is a standalone entity, with properties and type. A JavaScript object has properties associated with it. A property of an object can be...