事件,调用对象的其他方法和设置属性,或者在销毁对象前执行特定于对象的清理操作。
Event to call other methods on the object and set properties or to perform clean-up that is specific to the object before the object is destroyed.
可以将该对象传递到其他线程中的其他方法,而且根本无需担心。
You can pass this object in to other methods -- in other threads -- and not worry about it at all.
一个函数的对象以外的无法访问是私人性质的对象,但可以通过一个对象的任何财产,希望其他方法或函数。
A function outside of an object cannot access private properties of that object, but an object can pass any property it wants to another method or function.
应用推荐