Node.js Alert Causes Crash

The alert() function is a property of browser window objects. It is not really part of JavaScript; it’s just a facility available to JavaScript code in that environment.

Try console.log("Hello World");

Leave a Comment