function testNullToString()
{
    var a = [];
    for (var i = 0; i < 10; i++)
        a.push(String(null));
    for (i = 0; i < 10; i++) {
        var t = typeof a[i];
        if (t != "string")
           a.push(t);
    }
    return a.join(",");
}
assertEq(testNullToString(), "null,null,null,null,null,null,null,null,null,null");
checkStats({
    recorderStarted: 2,
    sideExitIntoInterpreter: 2,
    recorderAborted: 0
});
