whole_func_string: function terminate() {
      window.onhashchange = null
      window.onpopstate = null
      options = util.copyObject(defaultOptions)
      logger.enabled = false
      logger.log = logger.error = util.noop
    }
func_code_string: function terminate() {
      window.onhashchange = null
      window.onpopstate = null
      options = util.copyObject(defaultOptions)
      logger.enabled = false
      logger.log = logger.error = util.noop
    }
func_documentation_string: /*
  Remove any possibility of side effect this router instance might cause.
  Used for testing purposes where we keep reusing the same router instance.