method UserAgent.prototype.deviceView codeUserAgent.prototype.device(): DeviceThe model, type, and vendor of a device if present in a user agent string. Return TypeDeviceView code