I am not able to find the error


#1

// complete these definitions so that they will have
// the appropriate types
var anObj = { job: "I'm an object!" };
var aNumber = 42;
var aString = "I'm a string!";

console.log(typeof anObj); // should print "object"
console.log(aNumber); // should print "number"
console.log(aString); // should print "string"


#2

Hi @vinayakkad

Typeof operator to find the type of a JavaScript variable, it works for all type.

So you can right

console.log(typeof aNumber);
console.log(typeof aString);

Hold on :wink:


#3

i got that after few second ...of posting :wink: but always graceful to have you around for help onepunch_man