While making a code review of some npm package I've noticed this pattern:
const start = function start() {
...code
}
I was wondering what this pattern could be useful for. Does anybody know?
Wouldn't be just fine to assign const in this way:
const start = function() {
... code
}