Posted inJavascript
Demystifying the new keyword in Javascript
Javascript's 'new' keyword goes hand-in-hand with the object oriented programming paradigm in which the code written aims to mimic things and actions in the real world. A dog can run…