feige
2024-12-17 4b1fbea0d8099259ea7d0ef10bd7633c3bc62f2e
1
2
3
4
5
6
7
8
9
10
11
12
var $ = require('../internals/export');
var fill = require('../internals/array-fill');
var addToUnscopables = require('../internals/add-to-unscopables');
 
// `Array.prototype.fill` method
// https://tc39.es/ecma262/#sec-array.prototype.fill
$({ target: 'Array', proto: true }, {
  fill: fill
});
 
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('fill');