結果 : how to pass a parameter in javascript function