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