結果 : how to give a function a parameter in javascript