DeanTG / interview

0 stars 0 forks source link

prototype #3

Open DeanTG opened 1 year ago

DeanTG commented 1 year ago

link

DeanTG commented 1 year ago

原型

DeanTG commented 1 year ago
DeanTG commented 1 year ago

原型链:访问一个对象的属性时,先在基本属性中查找,如果没有,再沿着proto这条链向上找。