print the javascript string object properties and methods
<p>How to print the properties and methods of javascript String object.</p>

<p>Following snippet does not print anything.</p>

<pre><code>for (x in String) {
   document.write(x);   
}
</code></pre>
