Given a string, remove all whitespace from both ends of the string.
// input: const s = ' hello world ' // output: 'hello world'
/* output */