es5和es6 继承的不同
function Person(){};
function Student(){};
Student.prototype = new Person()
var stu = new Student()
console.log(stu.__proto__) // Person{}
-------------------------------
class Person{}
class Student extends Person{}
var stu = new Student()
console.log(stu.__proto__) //Student{}
es5和es6 的集成好像有点不一样