結果 : how to access function inside function in javascript