JavaScript Node.js Basics Handling Errors in Node Handling Parsing Errors with try and catch

Aayush Mitra
Aayush Mitra
24,889 Points

Aren't we just using vanilla Javascript?

This is Node.js Basics. Isn't Node.js a framework? We are not using any new methods. Please can someone help me understand? Any help is appreciated. Thanks! :)

1 Answer

Steven Parker
Steven Parker
203,728 Points

Node.js is a JavaScript engine component that allows scripts to run outside of a browser. It is particularly handy for server-side tasks, and has a few built-in extensions to take advantage of its location.

But Node.js primarily supports the conventional JavaScript language. You can always load frameworks in to use them, but Node.js itself is, as you say, essentially a "vanilla JavaScript" engine.

Aayush Mitra
Aayush Mitra
24,889 Points

Thank you for clearing that up for me Steven. :)