結果 : function inside another function javascript