Re:Constantly Confusing ‘const’
by _getify on Tuesday September 08, 2015 @04:05PM
(#10187909)
What you're thinking about in ES6 is called "function name inference" and only refers to certain forms, like this one, where the name -- PURELY FOR DEBUGGING -- can be inferred. Actually, it goes for all assignments, `var`, `let`, and `const`.
Otherwise, the arrow itself is anonymous and thus you don't have a name to make an inner self-reference with.
Otherwise, the arrow itself is anonymous and thus you don't have a name to make an inner self-reference with.