News for hackers. Stuff that matters.
Re:Weaintfoundshit.js by sb8244 on Saturday July 23, 2016 @12:50PM (#12150063)
My best guess is you could raise an error and then you would always know if a selector didn't match.

In jQuery, a selector which doesn't match will evaluate to true, where as .length would be 0. This is a source of bugs, I'm sure, especially for beginners.

There are no comments on this comment yet.