function getMax(list) { let arr = list.map((item) => { return item[1]; }); return Math.max.apply(null, arr); } export default getMax;