benchmark for browsers - see https://github.com/indutny/bn.js/issues/18

```javascript
if (typeof console === 'undefined')
  console = {};
console.log = ...
```