Contact list


it is saying bill is not defined

Replace this line with your code. 
var friends =new Object();
friends.bill=new Object();
bill.number= "(206782989893)";
friends.steve=new Object();
steve.firstName= "Steve";
steve.lastName= "Jobs";
steve.number= "(1231421241)";



you seem to mix object literal notation and object constructor, choice one of the two ways to create the object


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