結果 : how to call a function in a function in javascript