blob: 6df885210346156addaa5cf6a80905aee3399fa7 [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.plainyearmonth.prototype.getisofields
description: Correct prototype on the object returned from getISOFields
features: [Temporal]
---*/
const instance = new Temporal.PlainYearMonth(2000, 5);
const result = instance.getISOFields();
assert.sameValue(Object.getPrototypeOf(result), Object.prototype, "prototype");