ES6 类继承 ES6 instanceof 操作符 ES6 方法覆盖 ES6 类继承 'use strict'; class Shape { constructor(a) { this.Area = a; } } class Circle extends Shape { disp() { console.log("Area of the circle: "+this.Area); } } var obj = new Circle(223); obj.disp(); ES6 instanceof 操作符 ES6 方法覆盖