Skip to content
PRACTICE_CHALLENGE // Intermediate(20 of 50)

Truncate a String

Description

Truncate a string if it is longer than the given maximum string length.

Solution Editor
JavaScript Editor
Loading...
Console Output
Waiting for output...