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

10 lines
337 B
JavaScript
Raw Normal View History

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