e 11 months ago
parent
commit
26e1d5498f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/DOM/20.原型原型链.html

+ 2 - 2
js/DOM/20.原型原型链.html

@@ -41,7 +41,7 @@
         console.log(per.age)
         per.eat();
         console.log(per,'111')
-        // console.log(per._photo_,'原型链') //undefined 
+        // console.log(per._photo_,'原型链')  
         function Animal() {
             console.log(this,'动物')
         }
@@ -49,7 +49,7 @@
         /**
          * 构造函数中自带了两个值
          * prototype 原型
-         * constructor 构造函数指向对象
+         * constructor 构造函数指向对象 构造器
         */
        /**
         * 原型链