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, that will not work, only the 2nd function will be defined on your page. Here's a source.