1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

toFixed() seems to be non-portable. Trying a different number test.

This commit is contained in:
Jeremy Ashkenas 2010-07-11 20:39:54 -04:00
parent 4bd657160d
commit a21606e348

View file

@ -26,7 +26,7 @@ ok [0...10].join(' ') is '0 1 2 3 4 5 6 7 8 9'
# Can call methods directly on numbers.
4.toFixed(10) is '4.0000000000'
4.valueOf() is 4
func: ->