1 | 'use strict';
|
2 | var uncurryThis = require('../internals/function-uncurry-this');
|
3 | var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
|
4 | var $ArrayCopyWithin = require('../internals/array-copy-within');
|
5 |
|
6 | var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);
|
7 | var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
8 | var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
9 |
|
10 |
|
11 |
|
12 | exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {
|
13 | return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
|
14 | });
|