10 The this keyword I


#1

Hi
The this keyword is supposed to access a value property outside the object but not in my code ? I don"t know why.

codecademy.pdf (584.5 KB)

ERROR Message : Unexpected token }.
I already know isn’t a syntax error, please I need help really quickly thks

https://www.codecademy.com/courses/learn-javascript-objects/lessons/objects/exercises/this?action=resume_content_item&course_redirect=introduction-to-javascript


#2

Please just copy paste your code to forum and the exercise url so we can run your code in the exercise, lot easier to debug


#3

There is a dot at the end of line 11 that should be inside the template string, or changed to a semi-colon.


#4

thank you a lot @mtf. The dot was the problem

thank you again.


#5

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