same here; you can just do

```javascript
player.units.forEach(function(unit) { self.renderUnit(unit....); })
```