title: Calling a function every X seconds not working
body: <p>I have a thymeleaf template with this piece of code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function() {
    (function() {
      alert('lalala');
      // do some stuff
      setTimeout(arguments.callee, 1000);
    })();
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am expecting to see al alert in the page every second,] but nothing happens and I don't see any error in the console</p>