Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
161 lines (92 loc) · 3.85 KB

README.md

File metadata and controls

161 lines (92 loc) · 3.85 KB

Platform.js API documentation

platform

platform

(Object): The platform object.

(String): The platform description.

(String, Null): The name of the browser layout engine.

(String, Null): The name of the product's manufacturer.

(String, Null): The name of the browser/environment.

(String, Null): The name of the operating system.

(String, Null): The alpha/beta release indicator.

(String, Null): The name of the product hosting the browser.

(String, Null): The browser/environment version.

Restores a previously overwritten platform object.

Returns

(Object): The current platform object.

Creates a new platform object.

Arguments

  1. [ua = navigator.userAgent] (String): The user agent string.

Returns

(Object): A platform object.

Return platform description when the platform object is coerced to a string.

Returns

(String): The platform description.