How do I pass a method through another method without it being called, and pass a variable object into it?
<p>Sorry for my last question. This is the question with better formatting.</p>

<p>I have a method that I am passing a method through :</p>

<pre><code>method("my_passed_method()")

function method(passed_method){
    eval(passed_method.replace('()', + '(' + obj + ')' );
} 
</code></pre>

<p>But this returns :</p>

<p><code>SyntaxError: missing ] after element list</code></p>

<p>I'm assuming this is just some simple JSON syntactical error.</p>
