2 ms·
One gotcha about naming otherwise anonymous functions is that the function name is often removed during minification. So, if you have code or logging that assu
by akbar501 12y ago
One gotcha about naming otherwise anonymous functions is that the function name is often removed during minification.
So, if you have code or logging that assumes all functions have names, then the code may break or degrade when built and deployed in production.