結果 : function inside a function javascript