platform property

String get platform

The platform property read-only property of the Navigator interface returns a string identifying the platform on which the user's browser is running.

Note: In general, you should whenever possible avoid writing code that uses methods or properties like this one to try to find out information about the user's environment, and instead write code that does feature detection.

Implementation

external String get platform;