function arguments

HTML

function(...arguments) {
}

JavaScript

function test(){
    alert(Array.slice(arguments).join("."));
}

test(1,2,3);