I think we had been using block style `if` statements:

```js
if (n % 2) {
    result += str;
}
```