cestmonvoyage.wordpress.com
Bonfire: Truncate a string
Using .splice() to solve FreeCodeCamp’s Bonfire: Truncate a string. The Challenge: Truncate a string (first argument) if it is longer than the given maximum string length (second argument). R…