Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
385 bytes
|
Line | |
---|
1 | var $ = require('../internals/export');
|
---|
2 | var fill = require('../internals/array-fill');
|
---|
3 | var addToUnscopables = require('../internals/add-to-unscopables');
|
---|
4 |
|
---|
5 | // `Array.prototype.fill` method
|
---|
6 | // https://tc39.es/ecma262/#sec-array.prototype.fill
|
---|
7 | $({ target: 'Array', proto: true }, {
|
---|
8 | fill: fill
|
---|
9 | });
|
---|
10 |
|
---|
11 | // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
---|
12 | addToUnscopables('fill');
|
---|
Note:
See
TracBrowser
for help on using the repository browser.