title: How to display all methods of an object?
body: <p>I want to know how to list all methods available for an object like for example:</p>
  
  <pre><code> alert(show_all_methods(Math));
  </code></pre>
  
  <p>This should print: </p>
  
  <pre><code>abs, acos, asin, atan, atan2, ceil, cos, exp, floor, log, max, min, pow, random,round, sin, sqrt, tan, …
  </code></pre>