結果 : function inside object in javascript