xref: /third_party/node/test/parallel/test-require-delete-array-iterator.js (revision 1cb0ef41)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/parallel/
1'use strict';
2
3const common = require('../common');
4
5
6const ArrayIteratorPrototype =
7    Object.getPrototypeOf(Array.prototype[Symbol.iterator]());
8
9delete Array.prototype[Symbol.iterator];
10delete ArrayIteratorPrototype.next;
11
12require('../common/fixtures');
13import('../fixtures/es-modules/test-esm-ok.mjs').then(common.mustCall());
14

Indexes created Thu Nov 07 10:32:03 CST 2024