frontend/.pnpm-store/v3/files/17/5202bcebc10180349714ef220ffa80faa0d9a8faf64556d5827844725831c4ea585631d2ccf4e1a0d44e7a6cb33e05e1530ebd06f1f207720361e099d531ec

11 lines
242 B
Plaintext

'use strict';
var ToUint8 = require('./ToUint8');
// https://262.ecma-international.org/6.0/#sec-toint8
module.exports = function ToInt8(argument) {
var int8bit = ToUint8(argument);
return int8bit >= 0x80 ? int8bit - 0x100 : int8bit;
};