Abreviando una oración

Crea una función que recibe una sentence y devuelve su abreviatura. Obtén todas las palabras cuya longitud sea mayor o igual que n y devuelve la primera letra de cada una, en mayúscula y como una sola cadena.

Ejemplos

abbreviate("do it yourself") ➞ "Y"

abbreviate("do it yourself", 2) ➞ "DIY"
// "do" and "it" are included because the second parameter specified that word lengths 2 are allowed.

abbreviate("attention AND deficit OR hyperactivity THE disorder")➞ "ADHD"
// Words below the default 4 characters are not included in the abbreviation.

abbreviate("the acronym of long word lengths", 5) ➞ "AL"
// "acronym" and "lengths" have 5 or more characters.

Notas

Puede que no se proporcione un argumento para n, así que establece el valor predeterminado en 4.