結果 : how to pass string variable in javascript function