JS how to check empty String and Space
<p>Help me pls</p>

<pre><code>if(value == ""){
// do anything
}
</code></pre>

<p>but I need to check space " " (2,3,... space is include) is the same way of empty String</p>

<p>ps. sorry in my English</p>