結果 : how to use parameter in javascript function