Skip to main content

Posts

Showing posts with the label node exercise

Intro To Node: How To Run A File With Node? (Study Note)

What Is Node.js? According to Node.js , Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. from Google Image Basically, Node.js is a way for us to write JavaScript code on the server side instead of browser or a separate JS file. Why Should We Know Node.js? The trendiest IT techonology for people to be learning right now  The largest ecosystem of open source libraries in the world.(From Node.js) High performance Write in JavaScript Interact With Node Console The Node console is just a place that we can open in our terminal with a simple command, and then we can start typing JavaScript commands. Then, they will be executed just like they are in the browser. In the Goormide terminal, I type "node", it will automatically switch to node system. Then, I type a simple console.log and enter, it print out the console.log message. Howev...