🌈 搜索
📅  最后修改于: 2022-03-11 14:48:15.908000             🧑  作者: Mango
const max = data.reduce((prev, current) => (prev.y > current.y) ? prev : current)