11 Syntax error, Where am i goin wrong?


#1

var object1 = {
size: "DD",
color: "white",
age: 22
};

var object2 = {};
object2.size = "AA";
object2.color: "brown";
object2.age: 21;

var object3 = new Object();
object3.size = "B";
object3.color = "black";
object3.age = 23;


#2

object2.color: "brown";
             ^
object2.age: 21;
           ^

#3

[Edit] i should have caught that