Comment #5 on issue 715 by langziyangyang: object index out of order
http://code.google.com/p/v8/issues/detail?id=715

<script>
/*
obviously!!! this is the chrom's bug,
whatever,we must face the reality,so i use the split the difference method,
because the string properties have no problem,so i use it like this
add a singn '_' before the numeric object property,and the problem is solve currently
anybody have a good method
*/
var a = {
        "_808367": {
        "credits": "199"
    }, "_153201": {
        "credits": "186"
    }, "_812096": {
        "credits": "171"
    }, "_812603": {
        "credits": "149"
    }, "_812585": {
        "credits": "70"
    }, "_667194": {
        "credits": "61"
    }, "_813621": {
        "credits": "60"
    }, "_728143": {
        "credits": "45"
    }, "_811601": {
        "credits": "39"
    }, "_811954": {
        "credits": "34"
    }
}

for(i in a){
        document.write(a[i].credits+'<br/>');
}
</script>

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to