結果 : how to access parameters in javascript function