summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Temporal/toStringTag/string.js
blob: 81a8039fcf43920ebf0fe09a8a58b8cb580c2422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |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-@@tostringtag
description: The @@toStringTag property of Temporal produces the correct value in toString
features: [Symbol.toStringTag, Temporal]
---*/

assert.sameValue(String(Temporal), "[object Temporal]");

reportCompare(0, 0);