How to remove the spaces between the string in JQuery

How to remove the spaces between the string in JQuery.
[js]
var str="Sibeesh Passion"
var strAfter=str.replace(/\s/g, ”);
[/js]

Leave a Reply

Your email address will not be published. Required fields are marked *

Serverless 360