Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ arrayOfNumbers
Function
arrayOfNumbers
test/parallel/test-buffer-generic-methods.js:5–7 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
3
const
assert = require(
'assert'
);
4
5
function
arrayOfNumbers(length) {
6
return
Array.from({ length }, (_, i) => i);
7
}
8
9
const
customInspectSymbol = Symbol.
for
(
'nodejs.util.inspect.custom'
);
10
Callers
1
test-buffer-generic-methods.js
File · 0.85
Calls
1
from
Method · 0.45
Tested by
no test coverage detected