Press n or j to go to the next uncovered block, b, p or k for the previous block.
export default function lengthOfLastWord(s: string): number { const array = s.split(' ').filter(Boolean) return array[array.length - 1].length }