I’d suggest this:
```javascript
var mcc = mobileConnection.iccInfo.mcc || '0';
var mnc = mobileConnection.iccInfo.mnc || '0';
```