dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
处理连接失败异常
zhangjian
2023-08-09
b5cc4996ee502e9bf9db2d9f05c88d988e33e1ab
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
core-js
/
internals
/
to-offset.js
1
2
3
4
5
6
7
8
9
var toPositiveInteger = require('../internals/to-positive-integer');
var $RangeError = RangeError;
module.exports = function (it, BYTES) {
var offset = toPositiveInteger(it);
if (offset % BYTES) throw $RangeError('Wrong offset');
return offset;
};