11. Practice makes Perfect SyntaxError?


#1


The error message is as follows:

SyntaxError: missing } after property list

I don't understand...I went over my code backwards and forwards....

var me = {
    name = 'Kyle';
    age = 20;
};

var him = {
    name = 'Lucifer';
    hisNumber = 666;
};

var god = {
    name = 'Chuck';
    age = 4000;
};


#2

Find a reference to compare your code to.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.