debian-mirror-gitlab/core-js/modules/es.array.for-each.js
2019-12-16 22:33:55 +05:30

9 lines
300 B
JavaScript

'use strict';
var $ = require('../internals/export');
var forEach = require('../internals/array-for-each');
// `Array.prototype.forEach` method
// https://tc39.github.io/ecma262/#sec-array.prototype.foreach
$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
forEach: forEach
});