function instantiateTable(objectId, entries, opIds) {
  const instance = Object.create(Table.prototype)
  if (!objectId) {
    throw new RangeError('instantiateTable requires an objectId to be given')
  }
  instance[OBJECT_ID] = objectId
  instance[CONFLICTS] = Object.freeze({})
  instance.entries = entries || {}
  instance.opIds = opIds || {}
  return instance
}
This function is used to instantiate a Table object in the context of
applying a patch (see apply_patch.js).