12/17 this is my code,but it still keep showing me the message about i didn't called the object1....help!


#1

var object1 = new Object();
object1.name = "paul";
object1["age"] = 26 ;

var object2 = new Object();
object2.phoneNumber = 0915791122 ;
object2.e-mail = "kwn791122@gmail.com";

var object3 ={}
object3.skill = "coding";
object3.habbit ="play basketball";

plz help thanks.

`


#2

there is a problem here:

object2.e-mail = "kwn791122@gmail.com";

- wil be used to subtract. so either use email or do:

object2["e-mail"]

#3

thank you ,its helpful.


#4