you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 9 months ago (1 child)

you jest, but using the actual function keyword had to be made a point in my team's code style ruleset because people kept using the
const somethingFunction = ( input ) => { return input*2; };
syntax everywhere. (as opposed to:
function somethingFunction ( input ) { return input*2; })

  • source
  • parent
  • hideshow 1 child comment