SOURCE

for (var i=0;i<cars.length;i++)
{ 
    document.write(cars[i] + "<br>");
}
console 命令行工具 X clear

                    
>
console