注意一个函数赋值或对象赋值语句也是赋值语句,应该以分号结尾。
Note that an assignment statement which is assigning a function literal or object literal is still an assignment statement and must end with a semicolon.
最后,通过把XMLHttpRequest对象赋值为null,停止这个对象。
Finally, you stop the XMLHttpRequest object by assigning it to null.
然后我们可以把服务对象赋值给一个IShorten对象,并使用它与前面讲到 的已注册服务进行交互。
We can then cast it to an IShorten object and use it to interact with the service registered previously.
So that's the key thing to-- to realize; that what the assignment did was have two separate paths to the same object.
认识到赋值会造成两个独立的绑定到;,同一对象上这件事情很关键,因此我可以通过这一条或者。
OK, now that I've got that, we could think about what would I want to do with these points?
我也可以像以前那样,对它们进行赋值操作,好,现在我们已经有这些对象了?
应用推荐