I can't pass the test: Use typeof to Check the Type of a Variable

Tell us what’s happening:

Idk why it seems to be right? Yet it doesn’t pass? Code bellow also doesn not work

console.log(typeof (three));

console.log( typeof (seven));

Your code so far


let seven = 7;
let three = "3";
console.log(seven + three);
// Only change code below this line
console.log(typeof three);
console.log( typeof seven);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Use typeof to Check the Type of a Variable

Link to the challenge:

remove the extra space here

1 Like