Syntax Error


#1

SyntaxError: Unexpected token '.'. Expected a ':' following the property name 'myObj'.

var me = new Object();
var myObj = {
myObj.name: 'Vivian';
myObj.age: '15';
};


#2

In the course "Arrays and Objects in JS" in exercise 11. Creating a new object there are instructions how to create an object.

var myObj = {
    type: 'fancy',
    disposition: 'sunny'
};

Compare that to your own, hopefully you will go back and read more about objects, before you move on.