title: weird result after invoking a higher order function
body: <pre><code>let myName = &quot;john&quot;;
  
  function morning(name){
    return`my name is ${name}`;
  }
  
  function pleasure(){
    return `and it is nice to meet you`;
  }
  
  function greet(name, callBack, callBack2){
    console.log(`Good Morning, ${callBack(name)} ${callBack2}`);
  }
  
  greet(myName, morning, pleasure);
  </code></pre>
  <p>why the result is like this ?</p>
  <pre><code>Good Morning, my name is john function pleasure(){
    console.log(`and it is nice to meet you`); ;
  }
  </code></pre>