DevilRoshan / Question

前端问题解决
0 stars 0 forks source link

[Daily]写出以下代码的执行结果 #82

Closed DevilRoshan closed 4 years ago

DevilRoshan commented 4 years ago
// 写出以下代码的执行结果
Object.prototype.fengtai = '丰台'
var a = 123;
a.b = 456;
console.log(a.fengtai)
console.log(a.b)
DevilRoshan commented 4 years ago

https://github.com/DevilRoshan/Question/blob/master/20200719-js-prototype.md