Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ MaybeIntToBigInt
Function
MaybeIntToBigInt
deps/v8/test/mjsunit/harmony/atomics.js:33–39 ·
view source on GitHub ↗
(arr, i)
Source
from the content-addressed store, hash-verified
31
}
32
33
function
MaybeIntToBigInt(arr, i) {
34
if
(IsBig(arr)) {
35
return
BigInt(i);
36
}
else
{
37
return
i;
38
}
39
}
40
41
var
IntegerTypedArrayConstructors = [
42
makeConstructorObject(Int8Array, -128, 127),
Callers
2
_i
Function · 0.85
testOp
Function · 0.85
Calls
1
IsBig
Function · 0.85
Tested by
no test coverage detected