code: function objectFromLists(keys, vals) {
    var result = {};
    for (let i = 0, len = keys.length; i < len; i++) {
      result[keys[i]] = vals[i];
    }
    return result;
  }
docs: Create an object from two arrays of keys and values.