1 | ;
|
2 | var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
|
3 | var $copyWithin = require('../internals/array-copy-within');
|
4 |
|
5 | var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
6 |
|
7 | // `%TypedArray%.prototype.copyWithin` method
|
8 | // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin
|
9 | ArrayBufferViewCore.exportProto('copyWithin', function copyWithin(target, start /* , end */) {
|
10 | return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
|
11 | });
|