Object.values / Object.entries
小于 1 分钟
Object.values
/ Object.entries
类型
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