How do I get the "children" or contents of a function?
<p>For example, if my script is...</p>

<pre><code>function cool() {
    function yes() { alert('yes'); }
    function wow() { alert('wow'); }
}
</code></pre>

<p>And I use <code>cool.toString();</code> then I get the entire function as a string.</p>

<p>But what do I have to do to just get the inner-contents as a string:</p>

<pre><code>    function yes() { alert('yes'); }
    function wow() { alert('wow'); }
</code></pre>
