Can you say:

```
indexB === digitsB.length - 1 && leadingZero
```

?