SHARE
TWEET

Untitled

a guest Apr 2nd, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const username = ' Paul  ';
  2. const password = ' p@ssw0rd    ';
  3.  
  4. const trimmedUser = username.trim();
  5. console.log(trimmedUser);
  6.  
  7.  
  8. const trimmedPass = password.trim();
  9. console.log(trimmedPass);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top