blob: 769df656d93c0c503e285ca5ee292a4a96b2340a [file] [log] [blame]
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.plaindate.prototype.getisofields
description: Correct prototype on the object returned from getISOFields
features: [Temporal]
---*/
const instance = new Temporal.PlainDate(2000, 5, 2);
const result = instance.getISOFields();
assert.sameValue(Object.getPrototypeOf(result), Object.prototype, "prototype");