Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Won't trycatch different types #15
The current version will hit the trycatch in objEquiv if you compare, for example,
This should significantly improve the performance of checks between values of different types.
Tests pass, however I'm not totally confident that there are enough tests to catch potential edge cases.
nvm, looked at https://github.com/nodejs/node/blob/master/lib/internal/util/comparisons.js and added some tests to this PR.