title: Procedural approach in JavaScript
body: <p>I recently watched a JavaScript video tutorial containing code similar to this one:</p>
  
  <pre><code>(function (){
      var b = 10,
          c = 20, 
          d = 50;
  
      var e = function(){
          return b + c + d;
      };
      return e();
  }());
  </code></pre>
  
  <p>This is a common JS coding pattern.
  The author said that this is an example of a procedural approach in Javascript code. I don't understand that, can you please explain.</p>