Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.array.fill.js 399B

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