title: create object from dynamic classname - ReflectionClass in JS?
body: <p>is it possible to do something like this without evil eval:</p>
  
  <pre><code>var str='MyClass';
  eval('new '+str);
  </code></pre>
  
  <p>i just learned that there's ReflectionClass in PHP...
  thanks.</p>