title: How to call a function and its child function in JavaScript?
body: <p>I am learning JavaScript, so if this question is nonsense correct me.</p>
  
  <pre><code>function greaterThan(n) { 
  return m =&gt; m &gt; n;
  } 
  let greaterThan10 = greaterThan(10); 
  console.log(greaterThan10(11)); 
          // → true
  </code></pre>
  
  <p>In this function is there is any possible way to call inside function <code>m=&gt; m &gt; n</code> along with " greaterthan " function ?
  Like greaterthan(10(11));  where I provide m and n both variables ?</p>