Huba buba 5/30


#1

my code:
// 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(anObj ); // should print "object"
console.log(aNumber ); // should print "number"
console.log(aString ); // should print "string"


#2

The expected results indicate type is involved.

console.log(typeof anObj);

#3

thank you

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(typeof aNumber ); // should print "number"
console.log(typeof aString ); // should print "string"