خرید بک لینک

Vote count: -1

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.

asked 2 mins ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 5 اسفند 1394 ساعت: 21:41

صفحه بندی