Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ last
Function
last
deps/npm/test/lib/utils/log-file.js:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
13
const
getId = (d =
new
Date()) => d.toISOString().replace(/[.:]/g,
'_'
)
14
const
last = arr => arr[arr.length - 1]
15
const
range = (n) => Array.from(Array(n).keys())
16
const
makeOldLogs = (count, oldStyle) => {
17
const
d =
new
Date()
Callers
1
log-file.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected