JSON.parse() does not parse negative number

Sebastien, I am not sure how to include the unit test that goes with the change.
Here is the JavaScript unit test

function testcase() {
            
    if(JSON.parse('{ "x":-1 }').x !== -1) return false;
    if(JSON.parse('{ "x": -1 }').x !== -1) return false;
    try {
        JSON.parse('{ "x": -.1 }'); // Not allowed
        return false;
    }
    catch(ex) {}
    
    return true;
 }
runTestCase(testcase);