blob: 6a40d4aa3c4be52b342420b36ef917ab47a42678 [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-get-temporal.plaindate.prototype.calendar
description: The "calendar" property of Temporal.PlainDate.prototype
features: [Temporal]
---*/
const descriptor = Object.getOwnPropertyDescriptor(Temporal.PlainDate.prototype, "calendar");
assert.sameValue(typeof descriptor.get, "function");
assert.sameValue(descriptor.set, undefined);
assert.sameValue(descriptor.enumerable, false);
assert.sameValue(descriptor.configurable, true);