This version of the documentation is outdated! Click here for the latest released version.
deviceobject describes the device's hardware and software.
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;