title: how to stop javascript or jquery function within a javascript or jquery function
body: <p>i want to stop a function inside function but outside my stop function --scenario--
  NumberOne() will do something and NumberTwo() will stop NumberOne() and do something </p>
  
  <p>example</p>
  
  <pre><code>function NumberOne(){
     alert("hello");       
  }
  
  function NumberTwo(){
    NumberOne().stop();
    alert("it stopped");
   }
  </code></pre>