mirror of https://github.com/tc39/test262.git
14 lines
437 B
JavaScript
14 lines
437 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, 'The value of tz1 is expected to not equal the value of `tz2`');
|