mirror of https://github.com/tc39/test262.git
22 lines
473 B
JavaScript
22 lines
473 B
JavaScript
|
// 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.duration
|
||
|
description: The "Duration" property of Temporal
|
||
|
includes: [propertyHelper.js]
|
||
|
features: [Temporal]
|
||
|
---*/
|
||
|
|
||
|
assert.sameValue(
|
||
|
typeof Temporal.Duration,
|
||
|
"function",
|
||
|
"`typeof Duration` is `function`"
|
||
|
);
|
||
|
|
||
|
verifyProperty(Temporal, "Duration", {
|
||
|
writable: true,
|
||
|
enumerable: false,
|
||
|
configurable: true,
|
||
|
});
|