blob: 962b450095024b1e8359a0759bdbc609614e2351 [file] [log] [blame]
// 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.plaintime.prototype.tojson
description: The "toJSON" property of Temporal.PlainTime.prototype
includes: [propertyHelper.js]
features: [Temporal]
---*/
assert.sameValue(
typeof Temporal.PlainTime.prototype.toJSON,
"function",
"`typeof PlainTime.prototype.toJSON` is `function`"
);
verifyProperty(Temporal.PlainTime.prototype, "toJSON", {
writable: true,
enumerable: false,
configurable: true,
});