結果 : function inside another function is called in javascript