fix #5 test for class Integer failed on Safari/IE

use global.isFinite instead of Number.isFinite
Merge pull request #6 from mohayonao/fix-issue-5

fix #5 test for class Integer failed on Safari/IE
Merge branch 'master' into gh-pages