title: Node.js odd number count error
body: <p>Created a file name big.file and stored values </p>
  
  <pre><code>const fs = require('fs');
  const file = fscreateWriteStream('./big.file');
  
  for(let i=0; i&lt;= 2; i++) {
    file.write('1\r\n2\r\n3\r\n');
  }
  file.end()
  </code></pre>
  
  <p>I read the file and I tried to find the count of oddnumbers     </p>
  
  <pre><code>const file2 = fs.readFile('./big.file','utf8', (err,lines) = {
   if(err) throw err;
   console.log(lines);
   const numbers = lines.map(Number);
   const oddNumbers = numbers.filte(n =&gt; n%2 ===1);
   console.log('odd number count:', oddNumbers.length);
  });
  </code></pre>
  
  <p>This is my output:</p>
  
  <pre><code>C:\projects\rough&gt;node index.js
  1
  2
  3
  
  C:\projects\rough\index.js:13
          const numbers = lines.map(Number);
                                ^
  </code></pre>