testingcase07.js
来自「《脚本驱动的应用软件开发方法与实践》源码」· JavaScript 代码 · 共 21 行
JS
21 行
//*****************************************************************************
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu Date: 5/1/2006
//*****************************************************************************
// Testing Case 7: pass a null parameter
Debugger.addBlankLine(1);
Debugger.trace("Testing Case 7", "pass a null parameter");
try
{
Application.car.installWheel(null, 0);
}
catch (e)
{
Debugger.trace("Exception", "Failed to uninstall the wheel.");
Debugger.trace("Exception", e + " " + e.message);
}
Application.car.installWheel2(null, 0);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?