結果 : how to pass value in javascript function