main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
506 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var uncurryThis = require('../internals/function-uncurry-this');
|
---|
4 |
|
---|
5 | // eslint-disable-next-line es/no-typed-arrays -- safe
|
---|
6 | var 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.