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