Fix: Point eqeqeq error at operator (Fixes #1029)

Fixes #1029.

I have no idea how to get rid of those merge commits. They are pure merges from master. Let me know if they're an issue and I can delete and re-make my fork or rebase or whatever. If I just strip this one commit for the branch again they'll keep popping up in every PR I make; is there any way to merge without them?
Please add some JSDoc for this function.