How does node process concurrent requests? Languages

How does node process concurrent requests?

I have been reading nodejs lately, trying to understand how it handles multiple concurrent requests, I know nodejs is a single threaded event loop based architecture, at a given point of time only one statement is gonna execute i.e, on main thread and blocking code/IO calls are handled by the...
Read More
Current URL string parser is deprecated Languages

Current URL string parser is deprecated

when I run the code by "node app.js" command this error is showing(node:2509) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
Read More
Object.prototype returns empty object in Node Languages

Object.prototype returns empty object in Node

While I execute Object.prototype in browser console, i am getting all the properties and methods available inside Object.prototype. This is as expected but when i am executing exactly the same thing in NodeJS terminal I am getting an empty object {}. Could anyone please explain me why its like this?...
Read More