index.js
function trim (str, chars) {
  var fn = toFn(chars || WHITESPACE_CHARS)

  return trim.right(trim.left(str, fn), fn)
}
function trim (str, chars) {
  var fn = toFn(chars || WHITESPACE_CHARS)

  return trim.right(trim.left(str, fn), fn)
}
function trim ( str , chars ) { var fn = toFn ( chars || WHITESPACE_CHARS ) return trim . right ( trim . left ( str , fn ) , fn ) }
The default trim function executes both sides.
The default trim function executes both sides .