Closed Calvein closed 7 years ago
It seems JSON.parse has a similar scenario expect it doesn't return {}
JSON.parse('{"test": .1}') // Gives (program):1 Uncaught SyntaxError: Unexpected token .
JSON.parse('{"test": 0.1}') // Gives Object {test: 0.1}
Probably due to https://github.com/bevry/cson/issues/78
closed with v4.1.0
I'm not sure how to actually call them but I'm talking about number like this
0.4
. We have to put a0
before the.
or it returns an empty object (in the cli).