Does JS support two functions with the same name and different parameters ?
function f1(a, b) { // a and b are numbers } function f1(a, b, c) { // a is a string
No you can't do that ... unless it is OK with you to only have your last definition hold.