結果 : how to return a value in javascript