When you make objects in javascript, exact same as in node js
Console.log = prints out the properties
Javascript code is usually run only once, however, this node js code will run on your server and therefore run continuously
Any function without an explicit return statement, always return undefined
We usually give names to functions so we can reference them, however, we don’t need to that in node js
The function “setTimeout” will tell when will the code run, or when to send the results back from the database
No comments:
Post a Comment