Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Number.isInteger. Closes #12.

  • Loading branch information...
commit 8a993b20a8d5587fe0d104e8648fd74511b26fd4 1 parent bc0f83c
@paulmillr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  es6-shim.js
View
2  es6-shim.js
@@ -81,7 +81,7 @@
isInteger: function(value) {
return Number.isFinite(value) &&
- value > -9007199254740992 && value < 9007199254740992 &&
+ value => -9007199254740992 && value <= 9007199254740992 &&
Math.floor(value) === value;
},
Please sign in to comment.
Something went wrong with that request. Please try again.