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.
对象原型是定义与有限状态机有关的几乎任何东西的合适位置:状态表、它的操作及其参数。
The prototype for all RequiredValidator objects is a Validator instance, which has no properties because no parameters are passed to the Validator constructor.
所有RequiredValidator对象的原型都是一个Validator实例,该实例没有任何属性,因为没有参数传递给Validator构造函数。
The constructor examines each property in its parameters argument; for each one, if the property exists in the prototype, then its value overrides the parameter's default value.
构造方法在它的 parameters 参数中检查每个属性;对于每个属性,如果它存在于原型中,那么它的值覆盖参数的默认值。
应用推荐