padStart() and padEnd() to end the series
They are sworn rivals of the trim() family
Jul 30, 20222 min read35

Search for a command to run...
Articles tagged with #string
They are sworn rivals of the trim() family

The Return of the RegExp

A RegExp lover's dream (and also a cool playground)

Strings only, sorry not sorry RegEx.

Add includes() to the mix and we can try to skirt RegExp, yay!

search() and includes() for RegExp-related fun and joy, respectively. One of them doesn't accept RegExp as a parameter.
