Type | String |
---|---|
强制性 | 强制 |
示例 |
|
附加组件的版本, 一般格式设置为由点分隔开来数字的ASCII字符串. 关于版本格式的详细信息, 请查看 Version format .
需要注意的是 Chrome 浏览器的 version 格式要求(the syntax defined for Chrome's version
)比 Firefox 浏览器的 version 格式更严格一些, 这意味这:
- 对 Chrome 浏览器有效的 version 特性的值一定在 Firefox 浏览器中有效
- 但对 Firefox 浏览器有效的 version 特性的值在 Chrome 浏览器中却不一定有效
示例
"version": "0.1"
Browser compatibility
BCD tables only load in the browser
The compatibility table in 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.