27/30 Seriously, the hint doesn't help so much


#1

after these codes
what next ?

for (var x in languages) {
if (typeof languages[x] === "string") {
    console.log(languages[x])
};

};


#2

Hi,

this is working for me, have you accidentally altered the languages variable? The full code should look like like -

var languages = {
    english: "Hello!",
    french: "Bonjour!",
    notALanguage: 4,
    spanish: "Hola!"
};

// print hello in the 3 different languages
for (var x in languages) {
    if (typeof languages[x]==="string"){
        console.log(languages[x]);
        }
}

If your code matches this and it is still not passing, it may be a browser issue, so try clearing your cache or switching browsers quick to check

Thanks

Keith


#3

Hey, yesterday it didn't work.
But now it does.. maybe yesterday the 27/30 had an issue which is already fixed. And nope, i din't do anything with the variable languages.