jasnell / proposal-istypes

TC-39 Proposal for additional is{Type} APIs
201 stars 7 forks source link

Don't use XOR operator in the isInt/isUint functions #11

Closed rwaldron closed 7 years ago

rwaldron commented 7 years ago

The character ^ is the bitwise XOR, so wherever it's written as x ^ y, means: x XOR y, not x to the power of y. To remedy, write with exponent in superscript

jasnell commented 7 years ago

good point

rwaldron commented 7 years ago

Thanks for the fixes! (this and #12)