// |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-get-temporal.zoneddatetime.prototype.weekofyear description: The "weekOfYear" property of Temporal.ZonedDateTime.prototype features: [Temporal] ---*/ const descriptor = Object.getOwnPropertyDescriptor(Temporal.ZonedDateTime.prototype, "weekOfYear"); assert.sameValue(typeof descriptor.get, "function"); assert.sameValue(descriptor.set, undefined); assert.sameValue(descriptor.enumerable, false); assert.sameValue(descriptor.configurable, true); reportCompare(0, 0);