Yet another JavaScript 'overload' function (written in LiveScript) (gist.github.com) 1 points by naturalethic 12y ago ↗ HN
[–] naturalethic 12y ago ↗ In javascript you would call this like: var myfunc = overload([ { type: 'String', properties: 'Object', next: 'Function' }, { type: 'String', next: 'Function' }, function(type, properties, next) { ... }]);
1 comment
[ 4.5 ms ] story [ 13.9 ms ] thread