What is “server” in server-side javascript like NodeJS?
问题 Is it not a Javascript engine hosted by the browser on the client machine itself? 回答1: No, it isn't. Server generally has two meanings: A piece of software that listens for network requests and then responds to them A computer running such a piece of software A Node.JS server can be either of those. In web programming, a Node.JS server takes the place of Perl, Python, Ruby, PHP, Scala, etc. (And like those other languages, Node.JS lets you use JavaScript for non-server and non-web purposes).