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...

How to create custom module in Magento 2

Now Magento 2 has been launched , which has been completely revamped from what we had in Magento 1.x. Here we have displayed step by step process to create new Magento 2 module. TW is the namespace and Hello is the module name Step1: we need create a module.xml file...