跳至主要內容

Object.values / Object.entries

小于 1 分钟featurees-proposalmissing-example

Object.values / Object.entriesopen in new window

类型

interface ObjectConstructor {
  entries<T>(object: { [k: string]: string }): Array<[string, T]>;
  values<T>(object: { [k: string]: string }): Array<T>;
}

入口点

core-js/proposals/object-values-entries