title (val) {
      if (!val) return
      diffTitle.before = opt.complement
      let title = `${val.inner} ${val.separator || opt.separator} ${val.complement || opt.complement}`
      window.document.title = title.trim()
    }
Change window.document title
@type {Function}
@param  {Object} val