projecte_ionic/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js
2022-02-09 18:30:03 +01:00

10 lines
353 B
JavaScript
Executable file

var createTypedArrayConstructor = require('../internals/typed-array-constructor');
// `Uint8ClampedArray` constructor
// https://tc39.es/ecma262/#sec-typedarray-objects
createTypedArrayConstructor('Uint8', function (init) {
return function Uint8ClampedArray(data, byteOffset, length) {
return init(this, data, byteOffset, length);
};
}, true);