Issue #103: allow Infinity and -Infinity to be parsed.

This commit is contained in:
Eric Haszlakiewicz
2014-03-22 17:28:40 -04:00
parent 217bc29352
commit 05da316b9c
7 changed files with 97 additions and 2 deletions

View File

@@ -4,6 +4,13 @@ new_obj.to_string()="foo"
new_obj.to_string()="ABC"
new_obj.to_string()=null
new_obj.to_string()=NaN
new_obj.to_string()=null
new_obj.to_string()=null
new_obj.to_string()=null
new_obj.to_string()=Infinity
new_obj.to_string()=Infinity
new_obj.to_string()=-Infinity
new_obj.to_string()=-Infinity
new_obj.to_string()=true
new_obj.to_string()=12
new_obj.to_string()=12.3