title: How to call a function in another function in protractor
body: <p>first function</p>
  
  <pre><code>describe('Shortlisting page', function () {
      it('Click on candidate status Screened', function () {
          element(by.css('i.flaticon-leftarrow48')).click();
              browser.sleep(5000);
              browser.executeScript('window.scrollTo(0,250);');
              element(by.partialButtonText('Initial Status')).click();
              browser.sleep(2000);
              var screen = element.all(by.css('[ng-click="setStatus(choice, member)"]')).get(1);
              screen.click();
              element(by.css('button.btn.btn-main.btn-sm')).click();
              browser.executeScript('window.scrollTo(250,0);');
              browser.sleep(5000);
  
          });
      })
  </code></pre>
  
  <p>Second function</p>
  
  <pre><code>it('Click on candidate status Screened', function () {
         //Here i need to call first function 
  
      });
  </code></pre>
  
  <p>I want to call "first function" in "second function", how to do it please help me</p>