3 ms·
> I just would like more and more examples. I'd like relevant examples. It's incredibly frustrating to look at an MDN snippet to see code that no sane human wo
by bastawhiz 9y ago
> I just would like more and more examples.
I'd like relevant examples. It's incredibly frustrating to look at an MDN snippet to see code that no sane human would ever write. Self-executing closures that return callbacks inside for-in loops, initialization code that still checks readyState, code that avoids more than one function for no obvious reason...MDN can be a real crap-shoot. Hell, I'd be happy if they would name their variables sensible things instead of trash like `numFoo`.