function (_Bar) { _inherits(Foo, _Bar); function Foo() { _classCallCheck(this, Foo); return _possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).apply(this, arguments)); } return Foo; }(Bar);
function (_Bar) { "use strict"; function Foo() { _classCallCheck(this, Foo); return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments)); } _inherits(Foo, _Bar); return Foo; }(Bar);