2 ms·
You're probably remembering how it used to work. This is the example I remember from way back that we shouldn't use because (aside from being unnecessary and w
by Izkata 2y ago
You're probably remembering how it used to work. This is the example I remember from way back that we shouldn't use because (aside from being unnecessary and weird) this function wouldn't have a name in stack traces:
var foo = function() {};
Except nowadays it too does have the name "foo".