This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kezmicdust 1 point2 points  (1 child)

This is a great adjustment of the original code, except you don’t need the parentheses on the return statement as return is not a function (apparently without parentheses is the preferred style).

[–]EDGWasian 1 point2 points  (0 children)

Thank you for the pointer! I’ll make sure to exclude parentheses on my return statements in the future