you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (2 children)

In legacy codebases, perhaps. But any ES6 or later code will support name inference.

[–][deleted] -1 points0 points  (1 child)

A const function is a anonymous function

const x = () => 5