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.copy-within.js 442B

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