Are strings object?
<p>Here are two reasons to think strings are objects. First, you can create a string in the following way:</p>

<pre><code>var mystring = new String("asdf");
</code></pre>

<p>I'm under the impression that the constructor function following the new operator has to return an object. Second, strings seem to have properties and methods. For example:</p>

<pre><code>mystring.toUpperCase();
</code></pre>

<p>BUT, if strings were objects, then we'd expect something like the following to work:</p>

<pre><code>function string_constructor() {
return "asdf";
}

var mystring = new string_constructor();
</code></pre>

<p>But it doesn't, and I've been told it doesn't because strings aren't objects. So are strings objects or not? And, either way, how can I make sense of everything I've listed?</p>
