Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

What's the error in this code?

let john = true;
let thor = 'asgard';
let falcon = 1001;
let ghost;
console.log('john: ' + typeof john);
console.log('thor: ' + typeof thor);
console.log('falcon: ' + typeof falcon);
console.log('ghost: ' + typeof ghost);

i solved the code but showing error that you forget to log the typeof variable "ghost" on console.
by

0 Answers

No Answer posted yet.

Login / Signup to Answer the Question.