okay, so this would become

```
if (indexes.length) {
  allMatches.push(indexes);
} else {
  allMatches.push([0]);
}
```