Edit in JSFiddle

// JavaScript for the C# Guy
// Overloads don't exist

function hello(one) {
    $('#test').text("In First 'Overload'");
}

function hello(one, two) {
    $('#test').text("In Second 'Overload'");
}

function multiple() {
    var result = "Number of Arguments: " + arguments.length + "<br/>";
    $.each(arguments, function(i, arg) {
        result = result + typeof(arg) + "<br/>";
    });
    $("#test").html(result);
}
$(function() {
    $('#test-overload').click(function() {
        hello("one parameter");
    });

    $('#test-params').click(function() {
        multiple("first", 1, 1.0, new Object());
    });
});
<button id="test-overload">Test Overload</button>
<button id="test-params">Test Params</button>
<div id="test">before</div>