Method overloading in JavaScript | Dark Hacker News