I think it is probably better to do the following:

    if (Object.prototype.hasOwnProperty.call(this._idfCache, term) return this._idfCache[term]

As it stands, the token 'hasOwnProperty' could be cached, which would break when we tried to treat it as a function later.