title: Iterate over String.prototype
body: <p>I am aware that the <code>for in</code> loop can help iterate through properties of objects, prototypes and collections.</p>
  
  <p>The fact is, I need to iterate over <code>String.prototype</code>, and though <code>console.log(String.prototype)</code> displays the complete prototype, when I do</p>
  
  <pre><code>for (var prop in String.prototype) {
      console.log(prop);
  }
  </code></pre>
  
  <p>to display the name of the elements in the prototype, it displays nothing, as if it were empty.</p>
  
  <p>Do the JavaScript engines hide the basic prototypes methods, or am I doing something wrong?</p>