17. Creating your own objects


#1

https://www.codecademy.com/en/courses/javascript-beginner-en-9Sgpi/3/4?curriculum_id=506324b3a7dffd00020bf661

Error: Unexpected token ' { '

Code:

var myOwnObject {
    name: "Aidan",
    age: 13,
    city: "Gainesville",
};

#2

when creating variable or in this case an object, you use a equal sign:

var myOwnObject = {

#3

I know it was something stupid like that. Thanks.


#4