* initial code 2 fix the issue #2025 * Mark class prototype as read-only * Update fixtures * Fix failure * Update Babel 8 fixtures * Disable in loose mode * Update fixtures Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
14 lines
297 B
JavaScript
14 lines
297 B
JavaScript
var Ref = /*#__PURE__*/function () {
|
|
"use strict";
|
|
|
|
function Ref() {
|
|
var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ++Ref.nextID;
|
|
babelHelpers.classCallCheck(this, Ref);
|
|
this.id = id;
|
|
}
|
|
|
|
return babelHelpers.createClass(Ref);
|
|
}();
|
|
|
|
Ref.nextID = 0;
|