Hacker News new | ask | show | jobs
by apalmblad 5287 days ago
I definitely agree with your point about stack traces - I've used var x = function(){} for some projects, but have found in practice that named functions are very much worthwhile when dealing with stack traces?

What's the benefit of var x = function x(){}? Is it just illustration that functions can be assigned to variables?