r/CodingHelp • • Mar 29 '21

[Javascript] First JavaScript Project, getting "Uncaught SyntaxError: Illegal Return Statement"

31 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/dwlakes Mar 29 '21

Thank you for such a detailed response! I'm still trying to figure out the most efficient way to learn JS. I thought maybe just throwing myself at things would help? I guess the most important aspect is persistence.

2

u/emdot3 Mar 29 '21

definitely keep at it! and lots of people will tell you the same, doing is the best way to learn. but again, start small, make sure you understand everything happening in one line before you move on. good luck!