Javascript Properties JavaScript Reference

Note:
Read-only property. 
Returns the computer's operating system name.
    
Syntax:
    
objectName.platform