title: Javascript: eval behavior in IE8
body: <p>Please consider the example at <a href="http://jsfiddle.net/KE8Mv/" rel="nofollow">http://jsfiddle.net/KE8Mv/</a></p>
  
  <p>HTML</p>
  
  <pre><code>&lt;input type='text' id="log" /&gt;
  </code></pre>
  
  <p>JavaScript</p>
  
  <pre><code>var f = function(){
      if(console &amp;&amp; console.log)
          console.log('hello eval issue!');
  }.toString();
  
  var f1 = eval('('+f+')');
  
  var logMsg = f1===undefined?'eval returns none':'eval returns function';
  
  $('#log').val(logMsg);
  </code></pre>
  
  <p>The eval invoke returns function() object in FF and Chrome, but returns undefined in IE8:(
  What might be the issue? How to get the same behavior in all the browsers?</p>