source: imaps-frontend/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 506 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var uncurryThis = require('../internals/function-uncurry-this');
4
5// eslint-disable-next-line es/no-typed-arrays -- safe
6var getUint8 = uncurryThis(DataView.prototype.getUint8);
7
8// `DataView.prototype.getUint8Clamped` method
9// https://github.com/tc39/proposal-dataview-get-set-uint8clamped
10$({ target: 'DataView', proto: true, forced: true }, {
11 getUint8Clamped: function getUint8Clamped(byteOffset) {
12 return getUint8(this, byteOffset);
13 }
14});
Note: See TracBrowser for help on using the repository browser.