Node js readFile toString making sounds
<p>I have just some basic HTML:</p>

<pre><code>[...]&lt;body&gt;

&lt;p&gt;Some Text&lt;/p&gt;
&lt;img src="path/nodejs.jpg?"&gt;

&lt;/body&gt;[...]
</code></pre>

<p>And a basic node js function as request callback for server.</p>

<pre><code> fs.readFile(filePath, function(err, content){
       if (err) throw err;

        // * console.log(content.toString());

        var mime = require('mime').lookup(filePath);
        res.setHeader('Content-Type', mime + "; charset=utf-8");
        res.end(content);
    });
</code></pre>

<p>I wanted to console.log (* line) the content but when I did this, my laptop began beeping booping i.e making sounds. So why does it happen?</p>