下一个块应该是非常熟悉的:它在未提供参数时打印用法信息。
The next block should look familiar: It prints a usage message if no arguments are provided.
如前所述,匿名块的最常见用法就是调用过程语言对象,通常是为了进行测试。
As mentioned, one of the most common USES of anonymous blocks is to invoke procedural language objects, typically for testing purposes.
Ajax的一个常用用法是装载HTML块到页面的一个区域内。
A common use of Ajax is to load a chunk of HTML into an area of the page.
应用推荐