The next step is to initiate the cipher object by calling its init method.
下一步是调用cipher对象的init方法初始化这个对象。
The naive way to obtain a dependency is to create it directly by calling its constructor.
获得一个依赖的最简单方式就是直接调用构造函数创建对象。
The last line of Listing 1 shows how the Worker is initiated—by calling its postMessage function.
清单 1 中的最后一行展示如何通过调用 Worker 的 postMessage 函数来启动它。
应用推荐