結果 : how to call function inside function in javascript