結果 : how to pass string value in javascript function