summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Iterator/prototype/drop/is-function.js
blob: 9f8ca765afb4d8de62262f913beae9af031e08c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |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.drop
description: >
  Iterator.prototype.drop is a built-in function
features: [iterator-helpers]
---*/

assert.sameValue(typeof Iterator.prototype.drop, 'function');

reportCompare(0, 0);