A few lines aboveyour mentioned code.
```
var outputBlobs = [];
`````
So, there is no need to check whether `outputData` is null.