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