結果 : how to return a value from one function to another in javascript