I am 42 years old. But i am ready for new challenges. I like to get new skills and to improve my strengths.
Shortest Word from Codewars: Simple, given a string of words, return the length of the shortest word(s). String will never be empty and you do not need to account for different data types.
export function findShort(s: string): number {
let min = Math.min(...s.split(' ').map(({length}) => length));
return min;