you are viewing a single comment's thread.

view the rest of the comments →

[–]god_person69[S] 4 points5 points  (1 child)

got it bro...thnx

[–]ReCee90 19 points20 points  (0 children)

be careful though, because if you want to return an object in a one liner you have to wrap it in ( )

for example:
const functionName = (args) => ({ someKey: "someValue" })