Is it possible to emulate Java's method overloading in JavaScript?
For example, I would like to have two constructor() method in my myclass() JS class. The first one creates a window with width & height and the second, with width, height, positionX & positionY properties.
If possible write the code as pure-js.
