Navigator platform property
Definition and Usage
platform property is a read-only string that declares the browser is running an operating system and (or) hardware platform.
grammar
navigator.platform
Browser Support
All major browsers support platform property
Examples
Examples
Your browser Which platform compiler:
<Script>
document.write ( "hardware platform:" + navigator.platform);
</ Script>
document.write ( "hardware platform:" + navigator.platform);
</ Script>
The above example output:
try it"
More examples
This example contains all the properties of the navigator.
Navigator Objects