Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6763fe269a
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (6 sloc) 0.446 kb

Javascript Overloader

The simple purpose of this library is to allow call signature based overloading similar to that you find in Java and Objective C in the context of Javascript, as well as permit the use of enforced strong typing without sacrificing the basic flexibility of JS.

The basic call is:

var myClosure = Overloader(defaultMethod, argumentTypes, overloadMethod, argumen…);

See test.js for a more elaborate example.

Jump to Line
Something went wrong with that request. Please try again.