Closed tristaaan closed 8 years ago
.< I rushed a bit on this, didn't even know it was a native function. The polyfill is faster and no doubt covers some unintuitive test cases. Sorry about this, I'll update...
No worries. I actually had no idea this was included in ES6 either, until I googled.
:+1: LGTM
@rsandor your wish is granted.
Thanks @tristaaan !
How does your solution compare to the Polyfill here? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger