結果 : how to call function in javascript with parameters