Skip to content

Commit d8a0744

Browse files
committed
fixup! fix units in variable name
1 parent 484a3d8 commit d8a0744

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/perf_hooks.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ function now() {
148148
}
149149

150150
function getMilestoneTimestamp(milestoneIdx) {
151-
const us = milestones[milestoneIdx];
152-
if (us === -1)
153-
return us;
154-
return us / 1e6 - timeOrigin;
151+
const ns = milestones[milestoneIdx];
152+
if (ns === -1)
153+
return ns;
154+
return ns / 1e6 - timeOrigin;
155155
}
156156

157157
class PerformanceNodeTiming {

0 commit comments

Comments
 (0)