🌈 搜索
📅  最后修改于: 2022-03-11 15:03:04.989000             🧑  作者: Mango
var obj = {a: 1, b: 2, undefined: 1}; Object.keys(obj).reduce((a, b) => obj[a] > obj[b] ? a : b);