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.
13 lines
521 B
13 lines
521 B
'use strict'; |
|
var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); |
|
var uncurryThis = require('../internals/function-uncurry-this'); |
|
|
|
var aTypedArray = ArrayBufferViewCore.aTypedArray; |
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; |
|
var $join = uncurryThis([].join); |
|
|
|
// `%TypedArray%.prototype.join` method |
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join |
|
exportTypedArrayMethod('join', function join(separator) { |
|
return $join(aTypedArray(this), separator); |
|
});
|
|
|