blob: 6375c4951a50db684a422d6cf1ebc10afb97953e [file] [log] [blame]
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.instant.compare
description: The "compare" property of Temporal.Instant
includes: [propertyHelper.js]
features: [Temporal]
---*/
assert.sameValue(
typeof Temporal.Instant.compare,
"function",
"`typeof Instant.compare` is `function`"
);
verifyProperty(Temporal.Instant, "compare", {
writable: true,
enumerable: false,
configurable: true,
});