title: Newbie question about document.addEventListener('mousemove', function (e) {
body: <p>Okay:</p>
  
  <pre><code>document.addEventListener('mousemove', function (e) {...code...}, false);
  </code></pre>
  
  <p>Recently I realized that I could greatly enhance my interaction with a few websites by way of Chrome extensions to reorder and rewrite the website to suit my needs.</p>
  
  <p>So, I've been trying to get a grasp of chrome extensions, javascript, css, dom, jquery and HTML. It is a huge subject and I am woefully unfamiliar with web technologies.</p>
  
  <p>Can someone please explain what 'function(e){...code...}' is in this context?</p>
  
  <p>It is an inline function without a name? So, unlike other languages, instead of creating a function with a name and then calling it when needed, this statement hooks the mousemove with an unnamed function?</p>
  
  <p>I suppose it is a stupid question to ask what the benefit is to having an inlined unnamed function is?</p>