title: Print all variables?
body: <p>I want to do a function that can be used a lot in debugging that print all variables with their values. It would alert:<br>
  x=3<br>
  y=2  </p>
  
  <p>The function would be like that :<br>
  <strong>Exemple :</strong>  </p>
  
  <pre><code>var text='';
  for(var a=0;a&lt;allVariables;a++)
  {
      text+=nameOfVariable + " = " + valueOfVariable + "/n";
  }
  alert(text);
  </code></pre>