noSuchMethod in globally defined functions
<p>I am aware of <code>__noSuchMethod__</code> but I'm not sure how to get this for functions that are called like this.</p>

<pre><code>someThing();
</code></pre>

<p>For example I am aware I can do this</p>

<pre><code>var global = Function('return this')();
global.__noSuchMethod__ = function(id, args) {
  console.log('No Such Method');
}
global.notDefined();
</code></pre>

<p>But it does not work with this</p>

<pre><code>var global = Function('return this')();
global.__noSuchMethod__ = function(id, args) {
  console.log('No Such Method');
}
notDefined();
</code></pre>

<p>As is quite obvious there is some Javascript fundamentals that I still need to learn.</p>

<p>What I am trying to accomplish is to catch functions that are called outside of an object. If that makes sense. I apologize if my terminology is a bit off.</p>
