Función declarar JavaScript

function name([param,[, param,[..., param]]]) {
   [statements]
}
Thyago Mac