I\'ve been reading nodebeginner And I came across the following two pieces of code.
The first one:
var result = database.query(\"SELECT * FROM hu
The main difference is with asynchronous programming, you don't stop execution otherwise. You can continue executing other code while the 'request' is being made.