DEV Community

Discussion on: Trim Your Inputs!

Collapse
 
eligarlo profile image
Eliahu Garcia Lozano

There is no difference, as there is no difference between trimEnd and trimRight.

They do the same thing.