// See if the two teams have both played a third team k.
for (let k in results_i) {
if (!results_i.hasOwnProperty(k)) continue;
// See if the two teams have both played a third team k.
for (let k in results_i) {
if (!results_i.hasOwnProperty(k)) continue;