Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ getLastLine
Function
getLastLine
test/parallel/test-debugger-set-context-line-number.mjs:17–20 ·
view source on GitHub ↗
(output)
Source
from the content-addressed store, hash-verified
15
}
16
17
function
getLastLine(output) {
18
const
splittedByLine = output.split(
';'
);
19
return
splittedByLine[splittedByLine.length - 2];
20
}
21
22
// Stepping through breakpoints.
23
try {
Callers
1
test-debugger-set-context-line-number.mjs
File · 0.85
Calls
1
split
Method · 0.45
Tested by
no test coverage detected