Javascript nested loops for beginners

Hello folks!

Why does this code print 1 2, and not the names that are similar in the arrays?
Comes from codecademy's JS beginner course

const bobsFollowers = ['Tim', 'Kim', 'Lim', 'Nim'];
const tinasFollowers = ['Kim', 'Nim', 'Hue'];
const mutualFollowers = [];

for (let i = 0; i < bobsFollowers.length; i++) {
    for (let j = 0; j < tinasFollowers.length; j++) {
        if (bobsFollowers[i] === tinasFollowers[j]) {
            console.log(mutualFollowers.push(bobsFollowers[i]));
        }
    }
}
Was this page helpful?