For the function updates() in result-summary.js it is currently returning anything, which is not very helpful.
Current jsdoc
/**
* Returns the query statistics updates in a dictionary.
* @returns {*}
*/
updates is actually returning this._stats, which has very clearly defined properties
this._stats = {
nodesCreated: 0,
nodesDeleted: 0,
relationshipsCreated: 0,
relationshipsDeleted: 0,
propertiesSet: 0,
labelsAdded: 0,
labelsRemoved: 0,
indexesAdded: 0,
indexesRemoved: 0,
constraintsAdded: 0,
constraintsRemoved: 0
}