結果 : method inside method javascript