diff options
Diffstat (limited to 'node_modules/core-js/modules/es.array.fill.js')
| -rw-r--r-- | node_modules/core-js/modules/es.array.fill.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/core-js/modules/es.array.fill.js b/node_modules/core-js/modules/es.array.fill.js new file mode 100644 index 0000000..ba9f4b4 --- /dev/null +++ b/node_modules/core-js/modules/es.array.fill.js @@ -0,0 +1,12 @@ +var $ = require('../internals/export'); +var fill = require('../internals/array-fill'); +var addToUnscopables = require('../internals/add-to-unscopables'); + +// `Array.prototype.fill` method +// https://tc39.github.io/ecma262/#sec-array.prototype.fill +$({ target: 'Array', proto: true }, { + fill: fill +}); + +// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables +addToUnscopables('fill'); |
