概要
PerformanceTiming
.navigationStart
是一个返回代表一个时刻的 unsigned long long
型只读属性,为紧接着在相同的浏览环境下卸载前一个文档结束之时的 Unix毫秒时间戳。如果没有上一个文档,则它的值相当于 PerformanceTiming.fetchStart
。
语法
time = performanceTiming.navigationStart;
标准
Specification | Status | Comment |
---|---|---|
Navigation Timing PerformanceTiming.navigationStart |
Recommendation | Initial definition. |
浏览器兼容性
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 它属于
PerformanceTiming
接口。