此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

Navigator:productSub 属性

基线
广泛可用

自 2015年7月 起,此特性已在主流浏览器中得到支持,可在大多数设备和浏览器版本中正常使用。

Navigator.productSub 只读属性返回当前浏览器的构建版本号。

一个字符串。

示例

js
document.body.textContent = `productSub:${navigator.productSub}`;

备注

在 IE 中,这个属性返回 undefined。

在 Apple Safari 和 Google Chrome 中,这个属性始终返回 20030107

规范

规范
HTML
# dom-navigator-productsub-dev

浏览器兼容性