6. It says something is wrong with my syntax and unexpected identifier. Not sure what to do. Can post the rest of code if needed for this section


#1

var add = function(firstName, lastName, email, phoneNumber) {
contacts[contacts.length] = {
var mike = {
firstName: "Mike",
lastName: "Jackson",
phoneNumber:"(999) 999-9999",
email: newfriend@example.com
}
};

list(mike);


#2

Hi (' @brian_marmon '), which lesson are you on?


#3

building an address book the very last step

if needed can post the rest of what I am working on


#4

@brian_marmon I can't fully post answers, I have to explain it


#5

@brian_marmon, you can take a look at this post:


#6

@brian_marmon, although the error is different you should be able to pick up something useful from it and apply it to your code.


#7

thank you and I am doing just that


#8

@brian_marmon, good to hear