mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 16:00:17 +00:00
13 lines
442 B
JavaScript
13 lines
442 B
JavaScript
var $ = require('../internals/export');
|
|
var copyWithin = require('../internals/array-copy-within');
|
|
var addToUnscopables = require('../internals/add-to-unscopables');
|
|
|
|
// `Array.prototype.copyWithin` method
|
|
// https://tc39.github.io/ecma262/#sec-array.prototype.copywithin
|
|
$({ target: 'Array', proto: true }, {
|
|
copyWithin: copyWithin
|
|
});
|
|
|
|
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
|
|
addToUnscopables('copyWithin');
|