News for hackers. Stuff that matters.
Re:Constantly Confusing ‘const’ by clessg on Tuesday September 08, 2015 @04:03PM (#10187899)
Actually, I believe arrow functions keep the name of the binding.

    const diameter = () => {};
    export const radius = () => {};
Could be wrong.
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.