UNPKG

486 BJavaScriptView Raw
1'use strict';
2var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');
3var exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;
4var typedArrayFrom = require('../internals/typed-array-from');
5
6// `%TypedArray%.from` method
7// https://tc39.es/ecma262/#sec-%typedarray%.from
8exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);