blob: 9e175913a61e4af8b2e88ffd2daefa69b5a53c60 [file] [log] [blame]
// 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.instant.prototype.tostring
description: The "toString" property of Temporal.Instant.prototype
includes: [propertyHelper.js]
features: [Temporal]
---*/
assert.sameValue(
typeof Temporal.Instant.prototype.toString,
"function",
"`typeof Instant.prototype.toString` is `function`"
);
verifyProperty(Temporal.Instant.prototype, "toString", {
writable: true,
enumerable: false,
configurable: true,
});