Prefer `Number` over `parseInt`. It is bad practice to use `parseInt` with only one parameter.

```js
var maxIterations = Number(process.argv[2]) || 50;
```