Arrays and Objects in JS / Practice Makes Perfect /


#1

After spending nearly half an hour on this task, I just can't seem to find the error(s). I followed the model provided as an example, but clearly I've failed. Can someone give me a hint where I went wrong? The error that I receive is:

SyntaxError: Unexpected identifier

TIA

_

var object1 = {
    color: "green"
    size: "grande"
    };
    
var object2 = {};
object2.color = "Red";
object2.speed = 103;

var object3 = new Object();
object3['length'] = 56;
object3['height'] = 37;
object3['width'] = 98;

#2

Literal syntax:

var myObj = {
key1: value, // note ,
key2: value
};

@psykloki


#3

Thank you so much, rcodeman! I'm just at such a loss.