massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / es.typed-array.join.js
1 'use strict';
2 var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
3 var uncurryThis = require('../internals/function-uncurry-this');
4
5 var aTypedArray = ArrayBufferViewCore.aTypedArray;
6 var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
7 var $join = uncurryThis([].join);
8
9 // `%TypedArray%.prototype.join` method
10 // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join
11 exportTypedArrayMethod('join', function join(separator) {
12   return $join(aTypedArray(this), separator);
13 });