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