Even better: The arrow function example used the statement form of an arrow function, instead of the expression form, which allows you to omit the return:
I'll concede that the arrow function is a bit overly complicated, with this, sometimes-optional argument list parenthesis, and object literal/function body syntax ambiguity.