JavaScript Trim
The ES5 specification defined a new native method, trim()
. It works just like Ruby's strip
:
This is great for stripping extra whitespace from a user's input.
Tweet
The ES5 specification defined a new native method, trim()
. It works just like Ruby's strip
:
This is great for stripping extra whitespace from a user's input.
Tweet