結果 : what is the purpose of defining parameters in a javascript function