Web APIs
performance.timeOrigin
Timestamp for the current performance time origin in milliseconds; combine with a relative reading when translating time references.
Formal Syntax & Structure
javascript syntaxjavascript
performance.timeOriginReturn Value
number
Origin timestamp in milliseconds.
Working Example
Example Snippetjavascript
(async () => {console.log(Number.isFinite(performance.timeOrigin),typeof performance.now());})()