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