code: function reverseObject (obj) {
    const newObj = {}
    for (let k in obj) {
      newObj[obj[k]] = k
    }
    return newObj
  }
docs: ------------------------------------------------------------------- DOM -------------------------------------------------------------------