Last active
January 31, 2020 18:23
-
-
Save worc/6ff99025b63ec82ce689b257e6b7a8da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const numeronym = word => word.length > 1 ? `${word[0]}${word.length-2}${word[word.length-1]}` : `${word}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment