They are properties of the object prototype, but unlike the state variables, they have default values as shown in Listing 17.
它们是对象原型的属性,但是与状态变量不同,它们具有清单17所示的默认值。
Now that you have hooked cursor events in all popular browsers, your object constructor is complete and you can return to the object prototype.
既然已经连接了所有流行的浏览器中的鼠标事件,对象构造方法已经完整了,可以返回到对象原型了。
The object prototype is a good place to define nearly everything related to the finite state machine: the state table, its actions, and their parameters.
对象原型是定义与有限状态机有关的几乎任何东西的合适位置:状态表、它的操作及其参数。
应用推荐