let x = { fn(){ console.log(111) } } let b = x.fn x.fn = function(){ console.log(222) b() } x.fn()//222 111