title: Node JS - Call js file function via command line
body: <p>Hi i have js file like below</p>
  
  <p>var myfun = function(){
    return "string from function."
  }</p>
  
  <p>i Need command line like below</p>
  
  <blockquote>
    <p>node myfile.js myfun()</p>
  </blockquote>
  
  <p>output : string from function.</p>
  
  <p>how to achieve this?</p>