MCPcopy Index your code
hub / github.com/nodejs/node / timestampMax

Method timestampMax

deps/v8/tools/parse-processor.mjs:137–146  ·  view source on GitHub ↗
(...timestamps)

Source from the content-addressed store, hash-verified

135 }
136
137 timestampMax(...timestamps) {
138 timestamps = timestamps.length == 1 ? timestamps[0] : timestamps;
139 let result = Math.max(...timestamps);
140 if (Number.isNaN(result) || result < 0) {
141 console.error(
142 'Invalid timestamp max:', {result, timestamps, script: this});
143 return 0;
144 }
145 return result;
146 }
147}
148
149// ===========================================================================

Callers 2

finalizeMethod · 0.80
postProcessMethod · 0.80

Calls 2

maxMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected