結果 : how to call a function from a function in javascript