This version of the documentation is outdated!
Click here for the latest released version.
Device
The
deviceobject describes the device's hardware and software.
Properties
Variable Scope
Since device is assigned to the window object, it is implicitly in the global scope.
// These reference the same `device`
//
var phoneName = window.device.name;
var phoneName = device.name;