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 的集成好像有点不一样
贴图。
也是Person呀