In a side project that I've been working on I built a quick-and-dirty function for doing simple method overloading. For those of you who aren't familiar with, it's just a way of mapping a single function call to multiple functions based upon the arguments they accept.
Here's the function in question
SaveShareSend
Tags: javascript
Comments
FlySwat replied ago:
You can implement overloading in a pure function basis and still use less code than registering his function handler to your function.
Voters For This Link (14)
Voters Against This Link (1)