This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
BluetoothDevice.deviceClass read-only property returns a number representing the Bluetooth devices "Class of Device".
var deviceClass = instanceOfBluetoothDevice.deviceClass
The definition of 'deviceClass' in that specification.