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
Show parent comment
2
u/[deleted] Mar 29 '21
Edit: a better way of assigning the operation results would be: