mirror of
https://github.com/tc39/test262.git
synced 2025-08-26 04:18:24 +02:00
14 lines
373 B
JavaScript
14 lines
373 B
JavaScript
// Copyright (C) 2020 Igalia, S.L. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-temporal.now.timezone
|
|
description: Each invocation of the function produces a distinct object value
|
|
features: [Temporal]
|
|
---*/
|
|
|
|
const tz = Temporal.Now.timeZone;
|
|
const tz1 = tz();
|
|
const tz2 = tz();
|
|
assert.notSameValue(tz1, tz2);
|