結果 : how to call function within function in javascript