Is ''.charAt(0) reliably ''?
<p>I know that there are better ways to check for an empty string—bear with me.</p>

<hr>

<p>This is <em>not</em> checking for empty string in general. I'm actually doing something like:</p>

<pre><code>var s = /*who knows?*/;
switch (s.charAt(0)) {
    // ...
}
</code></pre>

<p>and wanted to know if I can avoid having to do an extra <code>if (!s)</code>.</p>
