Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

trim return js

/**
* `"   some string with spaces on both ends ".trim()`
* removes whitespace from both ends of a string
* @returns a new string, without modifying the original string
*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #trim #return #js
ADD COMMENT
Topic
Name
8+5 =