What is the problem my code ? I don't know help me


#1

var Object1{
name = "yong jin",
age = 43
};

var Object2 = new Object();
Object2.name = "tom";
Objict2["age"] = 23;

var Object3 = new Object();
Object3.name = "july";
Object3["age"] = 35;


#2

Hey @ecln30! You have two problems! First when you initalize a object you need an equal sign between the bracket and name you didnt put one:


correct code:

var Object1 = { 
name = "yong jin",
age = 43
};

Secondly you just misspeled somthing: Here you mispelled Object 2:

Hope that helped! If it didnt please reply saying so!