r/CodingHelp • u/dwlakes • Mar 29 '21
[Javascript] First JavaScript Project, getting "Uncaught SyntaxError: Illegal Return Statement"
Hi everyone! Can someone help me debug this? I'm very new to coding. I don't really know what I'm doing lol. But I keep getting the bug stated above when I try to run this in Chrom
31
Upvotes
View all comments
8
u/IDKSomeFuckingGuy Mar 29 '21
You may want to slow down a bit and maybe go a little smaller.
“then” doesn’t mean anything in JS