refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
10
home/ags/node_modules/es-abstract/2022/ToInt16.js
generated
vendored
10
home/ags/node_modules/es-abstract/2022/ToInt16.js
generated
vendored
|
|
@ -1,10 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var ToUint16 = require('./ToUint16');
|
||||
|
||||
// https://262.ecma-international.org/6.0/#sec-toint16
|
||||
|
||||
module.exports = function ToInt16(argument) {
|
||||
var int16bit = ToUint16(argument);
|
||||
return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue