📅  最后修改于: 2022-03-11 14:57:54.938000             🧑  作者: Mango
function allLongestStrings(inputArray) {
let maxLength = Math.max(...inputArray.map((a) => a.length))
return inputArray.filter((a) => a.length === maxLength)
}