Skip to content

Commit

Permalink
toFixed() seems to be non-portable. Trying a different number test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Jul 12, 2010
1 parent 4bd6571 commit a21606e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_literals.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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: ->
Expand Down

0 comments on commit a21606e

Please sign in to comment.