title: JSLint error "Unexpected Var"
body: <p>JSLint keeps giving me the following error whenever defining 2 functions: </p>
  
  <blockquote>
    <p>Problem at line __ character _: Unexpected 'var'.</p>
  </blockquote>
  
  <p>I have tried declaring all vars at the beginning of the script but this does not solve the issue. Tried digging through the web for an answer but cannot seem to find one.</p>
  
  <pre><code>var walk = function walker(node, func) {
      //code
  }
  
  var disp= function display(){
      //code
      return d;
  }
  </code></pre>