"Unexpected EOF" syntax error, please help


#1


Hello! I got this problem I cant find any syntax mistakes in my code, can anybody give me an advice :frowning:


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

Syntax Error: Unexpected EOF

var object1={
    data1:"this",
    data2:"is 1st object"
};
var object2= new Object();
object2['this1']="this";
object2.this2="is 2nd object';
var object3= new Object();
object3['that1']="this";
object3.that2="is 3rd object";


#2

Check quotation marks in this line:

object2.this2="is 2nd object';

#3

oh thank you so much.. I was so stupid...


#4

It happens to everyone, trust me :slight_smile: You're very welcome!


#5

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