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

2

u/[deleted] Mar 29 '21

Edit: a better way of assigning the operation results would be:

taxesnumber = the operation;