title: what does this function is actually doing in node js
body: <pre><code>app.set('views', __dirname + '/views');
  </code></pre>
  
  <p>this is the function .   Here app is a express variable
  views folder contain the list of ejs files .  i know the meaning  of second argument but on a what it is explaining is not clear </p>