📄 testingcase05.js
字号:
//*****************************************************************************
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu Date: 5/1/2006
//*****************************************************************************
// Testing Case 5: interpret an Array
Debugger.addBlankLine(1);
Debugger.trace("Testing Case 5", "interpret an Array");
var wheelCount = Application.car.wheels.length;
Debugger.trace("Info", "There're " + wheelCount + " wheels on this car.");
for (var i = 0; i < wheelCount; i++)
{
var brand = Application.car.wheels[i].brand;
var color = Application.car.wheels[i].color;
Debugger.trace("Info", "Index: " + i + " Brand: " + brand + " Color: " + color);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -