`map` is generic so you can write this as:

```js
Array.prototype.map.call(args.slice(1), function(flag) {
```

In this case the extra allocations do not really matter.