summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Temporal/PlainTime/basic.js
blob: fad1f11b392ab625dba0779db98c6c7ddb63288b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
// 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.plaintime
description: Basic tests for the PlainTime constructor.
includes: [temporalHelpers.js]
features: [Temporal]
---*/

const args = [15, 23, 30, 123, 456, 789];
const plainTime = new Temporal.PlainTime(...args);
TemporalHelpers.assertPlainTime(plainTime, ...args);

reportCompare(0, 0);