Navigator appVersionProperty

Navigator 对象参考手册Navigator Object

Definition and Usage

The appVersion property returns the platform and version information of the browser. This property is a read-only string.

Syntax

navigator.appVersion


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the appVersion property


Example

Example

Return the browser version:

<script>

document.write("Version information: " + navigator.appVersion);

</script>

Output of the above example:


Try it »


实例

More Examples

This example contains all navigator properties


Navigator 对象参考手册Navigator Object Other Extensions