I'd [take a look at the point-in-polygon source](https://github.com/substack/point-in-polygon/blob/master/index.js) as it does no such thing, which actually implies that the test suite in in-n-out needs improvement.