它必须是对象原型主要特性的反映。
It must be the reflection of main qualities of the original object.
它们是对象原型的属性,但是与状态变量不同,它们具有清单17所示的默认值。
They are properties of the object prototype, but unlike the state variables, they have default values as shown in Listing 17.
对象原型是定义与有限状态机有关的几乎任何东西的合适位置:状态表、它的操作及其参数。
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.
应用推荐