填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

KeyValueChangeRecord

代表条目变更信息的记录。

Record representing the item change information.

      
      interface KeyValueChangeRecord<K, V> {
  key: K
  currentValue: V | null
  previousValue: V | null
}
    

属性

属性说明
key: K只读

地图中的当前键名。

Current key in the Map.

currentValue: V | null只读

键名的当前值;如果已删除,则为 null

Current value for the key or null if removed.

previousValue: V | null只读

键名的先前值;如果是添加的,则为 null

Previous value for the key or null if added.