title: "Maximum call stack size exceeded" Calling function from inside the function
body: <p>OK, so im trying to make a small sudoku generator, and i didn't get far before i met a problem. I meet the error "Maximum call stack size exceeded" when the output in console.log is "a == b". Here is my code (Im not an experienced coder FUI)</p>
  
  <pre><code>function en_Til_Ni() {
      return Math.floor(Math.random()*9)+1;
  } 
  
  var enTilNi = en_Til_Ni(); 
  console.log(enTilNi);
  
  var a = en_Til_Ni();
  console.log("a" + a);
  var b = en_Til_Ni();
  console.log("b" + b);
  var c = en_Til_Ni();
  console.log("c" + c);
  
  
  console.log("---------------------------------------------");
  
  function ikkeLike() { //this is where it goes wrong
      if (a != b) {
          console.log(a, b);
      }
  
      else if (a == b) { // It logs the numbers just fine, untill a == b
          ikkeLike();
      }
  
  }
  
  ikkeLike();
  </code></pre>