title: Why doesn't JSFiddle output results for this code
body: <p>I have been using the Firebug javascript console to test short scripts. Several people have suggested using JSFiddle instead. The problem is I can't seem to figure out how to do this. I enter my code in the js panel and hit run but nothing happens. I am assuming something should output to results? I tried different settings, reading the JSFiddle documentation, reading other questions posted on Stackoverflow, but I can't figure it out. It seems like it should be so simple. Maybe it only works if I call it from HTML? <a href="http://jsfiddle.net/nngrey/QgxCn/" rel="nofollow">http://jsfiddle.net/nngrey/QgxCn/</a> (I had to include my code to reference the link to JSFiddle.)</p>
  
  <pre><code>function Palindrome(str) {
      str = str.split("");
      for (var i = 0; i &lt; str.length; i++) {
          if (str[i] === " ") {
              str.splice(i, 1);
          }
      }
      revStr = str.reverse().join("");
      str = str.join("");
      if (revStr === str) {
          return true;
      } else {
          return false;
      }
      return str;
  }
  
  str = "dont nod";
  Palindrome(str);
  </code></pre>