How will the prototype chain break?

后端 未结 0 1115
轮回少年
轮回少年 2020-12-07 17:01

I am trying to learn inheritance in JavaScript .This article on MDN explains how prototype chain works.


let f = function () {
   this.a = 1;
   this.b = 2;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题