debian-mirror-gitlab/core-js/modules/es.typed-array.uint16-array.js

10 lines
334 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
var typedArrayConstructor = require('../internals/typed-array-constructor');
// `Uint16Array` constructor
// https://tc39.github.io/ecma262/#sec-typedarray-objects
typedArrayConstructor('Uint16', 2, function (init) {
return function Uint16Array(data, byteOffset, length) {
return init(this, data, byteOffset, length);
};
});