結果 : how to call one function from another in javascript