Permalink
Browse files

Fix Number.isInteger. Closes #12.

  • Loading branch information...
1 parent bc0f83c commit 8a993b20a8d5587fe0d104e8648fd74511b26fd4 @paulmillr committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 es6-shim.js
View
@@ -81,7 +81,7 @@
isInteger: function(value) {
return Number.isFinite(value) &&
- value > -9007199254740992 && value < 9007199254740992 &&
+ value => -9007199254740992 && value <= 9007199254740992 &&
Math.floor(value) === value;
},

0 comments on commit 8a993b2

Please sign in to comment.