URGENT Why doesnt this work?


#1

var object1 = new Object();
object1.size = "15cm";
object.weight = 15;

var object2 = new Object();
object2.size = "15cm";
object2.weight = 7;

var object3 = new Object();
object3.weight = 11;
object3.size = "111cm";

Error: Oops, try again. Did you make object2 an object?


#2

@tonibee,

have a close look at

object.weight = 15;