8 lines
198 B
JavaScript
8 lines
198 B
JavaScript
var Ref = function Ref() {
|
|
var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ++Ref.nextID;
|
|
babelHelpers.classCallCheck(this, Ref);
|
|
|
|
this.id = id;
|
|
};
|
|
|
|
Ref.nextID = 0; |