MCPcopy 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
17function getLastLine(output) {
18 const splittedByLine = output.split(';');
19 return splittedByLine[splittedByLine.length - 2];
20}
21
22// Stepping through breakpoints.
23try {

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected