code: function bench (name, func, iterations) {
    iterations = iterations || 100000
    console.time(name)
    let val
    for (let i = 0; i < iterations; i++) {
      val = func() + 'a'
    }
    console.timeEnd(name)
    // This whole dance is solely for the sake of defeating smartass compilers
    if (val !== '[object Object]testa') {
      throw new Error('got a bad value:', val)
    }
  }
docs: /*
  Util