`.trim()` is a javascript builtin and does the same :)