How to remove the spaces between the string in JQuery.

How to remove the spaces between the string in JQuery.
  1. var str="Sibeesh Passion"  
  2. var strAfter=str.replace(/\s/g, '');