The platform property returns the browser platform (operating system):
This property is removed (deprecated) in the latest web standard. Do not rely on platform to return the correct browser platform in all browsers.