跳至主要內容

Object.fromEntries

小于 1 分钟featurees-proposalmissing-example

Object.fromEntriesopen in new window

类型

interface ObjectConstructor {
  fromEntries<T = any>(
    iterable: Iterable<[PropertyKey, T]>
  ): { [k: string]: T };
}

入口点

core-js/proposals/object-from-entries