2 var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
3 var call = require('../internals/function-call');
4 var $fill = require('../internals/array-fill');
6 var aTypedArray = ArrayBufferViewCore.aTypedArray;
7 var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
9 // `%TypedArray%.prototype.fill` method
10 // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
11 exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
12 var length = arguments.length;
17 length > 1 ? arguments[1] : undefined,
18 length > 2 ? arguments[2] : undefined