title: Wrapper function in Javascript
body: <p>I understand wrapper would be something like</p>
  
  <pre><code>var str = 'Hello World'; // assigning string to a variable
  console.log(str); // 'Hello World'
  
  var str2 = new String('Hello World') // Creating a wrapper function
  str2.valueOf() // 'Hello World'
  </code></pre>
  
  <p>By that logic, can the below example also be considered a wrapper function</p>
  
  <pre><code>function SuperOuterAdd(a, b){
         console.log('Wrapper 2');
         return OuterAdd(a, b);
      }
  
      function OuterAdd(a, b){
         console.log('Wrapper 1');
         return add(a, b);
      }
  
      function add(a, b){
          return parseInt(a) + parseInt(b);
      }
  </code></pre>