10/33 Another way to create. NEED HELP please


Says make sure susan2 is an object...


"Oops. Make sure susan2 is an object"

// Our bob object again, but made using a constructor this time 
var bob = new Object();
bob.name = "Bob Smith";
bob.age = 30;
// Here is susan1, in literal notation
var susan1 = {
  name: "Susan Jordan",
  age: 24
// Make a new susan2 object, using a constructor instead
var susan2 = new Object();
susan2.name = "Susan Jordan";
susan2.age = 24;


Hmmm, I tested your code and it worked perfectly... It's also exactly what I have. Try refreshing?


lol. I was losing my mind! Refreshing fixed it! Thanks!


It's pretty rare that you have to refresh to fix a problem, but sometimes the session times out. I'm glad it worked! Happy coding!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.