2022-02-28 14:32:34 -05:00

13 lines
403 B
JavaScript

// Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.plaintime.from
description: Number argument is converted to string
includes: [compareArray.js, temporalHelpers.js]
features: [Temporal]
---*/
const result = Temporal.PlainTime.from(1523);
TemporalHelpers.assertPlainTime(result, 15, 23, 0, 0, 0, 0);