Please enable JavaScript.
Coggle requires JavaScript to display documents.
NodeJS (what is (JavaScript runtime (like JVM, Compiler that compiles on…
NodeJS
what is
JavaScript runtime
like JVM
Compiler that compiles on the fly
concurrent ( at the same time)
differences
no deadlocks
Deadlock ?
processes never block
runs on
JavaScript
utilizes
callback
parametr of a function is another function
var start = function(callback){callback()}
callback is a function
why to use it?
asynchronous nature
has
Globals
Global
container for other objects
Process
Buffer
❗ variable declared in a seperate file is global to that file