結果 : can i write function inside function in javascript