Could be written that way:

```js
function coalesce() {
  var value = undefined;
  [].slice.call(arguments).some(function(x) {
    return !!(value = x);
  });
  return value;
}
```