prepack
Version:
Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.
44 lines (34 loc) • 885 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _index = require("./index.js");
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/* strict-local */
class UndefinedValue extends _index.PrimitiveValue {
_serialize() {
return undefined;
}
equals(x) {
return x instanceof UndefinedValue && !(x instanceof _index.EmptyValue);
}
getHash() {
return 792057514635681;
}
mightBeFalse() {
return true;
}
toDisplayString() {
return "undefined";
}
}
exports.default = UndefinedValue;
//# sourceMappingURL=UndefinedValue.js.map