Help


#1

can someone help me on how to remove the whitespace


#2

We would love to help, and be better able to if we only knew the exact lesson you are on. Please post a link to the exercise. Thanks.


#3

You need to use the trim function.
Take the string.

console.log(" remove whitespace ");

and add “.trim()” to the end of it.

console.log(" remove whitespace ".trim());


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.