Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Added some float conversions for Javascript (Infinity and NaN).
Browse files Browse the repository at this point in the history
  • Loading branch information
connec committed Apr 14, 2013
1 parent 9601dfc commit 4c3afb0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions platform/javascript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
module.exports = {
floats: [
{
yaml: ".inf",
result: Infinity
},
{
yaml: "-.inf",
result: -Infinity
},
{
yaml: ".NaN",
result: NaN
}
],
timestamps: [
{
yaml: "2001-12-15T02:59:43.1Z",
Expand Down

0 comments on commit 4c3afb0

Please sign in to comment.