| 1 |
var _foo = babelHelpers.classPrivateFieldLooseKey("foo"); |
| 2 |
var Foo = function () { |
| 3 |
"use strict"; |
| 4 |
|
| 5 |
function Foo() { |
| 6 |
babelHelpers.classCallCheck(this, Foo); |
| 7 |
Object.defineProperty(this, _foo, { |
| 8 |
writable: true, |
| 9 |
value: 0 |
| 10 |
}); |
| 11 |
} |
| 12 |
babelHelpers.createClass(Foo, [{ |
| 13 |
key: "test", |
| 14 |
value: function test(other) { |
| 15 |
babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo]++; |
| 16 |
++babelHelpers.classPrivateFieldLooseBase(this, _foo)[_foo]; |
| 17 |
babelHelpers.classPrivateFieldLooseBase(other.obj, _foo)[_foo]++; |
| 18 |
++babelHelpers.classPrivateFieldLooseBase(other.obj, _foo)[_foo]; |
| 19 |
} |
| 20 |
}]); |
| 21 |
return Foo; |
| 22 |
}(); |