blob: 24eeda1679ad6f68be736f9f92a45ec150e4a2ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |reftest| shell-option(--enable-iterator-helpers) skip-if(!this.hasOwnProperty('Iterator')||!xulRuntime.shell) -- iterator-helpers is not enabled unconditionally, requires shell-options
// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-iteratorprototype.some
description: >
The value of the [[Prototype]] internal slot of Iterator.prototype.some is the
intrinsic object %Function%.
features: [iterator-helpers]
---*/
assert.sameValue(Object.getPrototypeOf(Iterator.prototype.some), Function.prototype);
reportCompare(0, 0);
|