Performance.timeOrigin
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
接口 Performance
的只读属性 timeOrigin
返回一个表示 the performance measurement 开始时间的高精度 timestamp
语法
var timeOrigin = performance.timeOrigin
值
高精度 timestamp,例如 1518354643295.86
Specifications
Specification |
---|
High Resolution Time # dom-performance-timeorigin |
Browser Compatibility
BCD tables only load in the browser