JS_StringToVersion 编辑
Returns a JSVersion
value representing the version string.
Syntax
JSVersion
JS_StringToVersion(const char *string);
Name | Type | Description |
---|---|---|
string | const char * | Version string to convert. |
Description
JS_StringToVersion
attempts to convert the version string
to a JSVersion
value. JS_StringToVersion
may return any of the following values:
String | Enumeration |
---|---|
"1.0" | JSVERSION_1_0 Obsolete since JSAPI 24 |
"1.1" | JSVERSION_1_1 Obsolete since JSAPI 24 |
"1.2" | JSVERSION_1_2 Obsolete since JSAPI 24 |
"1.3" | JSVERSION_1_3 Obsolete since JSAPI 24 |
"1.4" | JSVERSION_1_4 Obsolete since JSAPI 24 |
"ECMAv3" | JSVERSION_ECMA_3 |
"1.5" | JSVERSION_1_5 Obsolete since JSAPI 24 |
"1.6" | JSVERSION_1_6 |
"1.7" | JSVERSION_1_7 |
"1.8" | JSVERSION_1_8 |
Other | JSVERSION_UNKNOWN |
See Also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论