2. Creating your contact object


#1



https://www.codecademy.com/courses/javascript-beginner-en-3bmfN/0/2?curriculum_id=506324b3a7dffd00020bf661#


It keeps saying Jack is undefined how would I define it?


var friends = {
name: "Jack",
age: 27
};
var objectName = {"Jack"};


#2

This is overcomplicating things. All the instructions ask for is an object, with no added properties.

var friends = {};

or

var friends =  new Object();