Functions in #javascript or #programming in general are just containers with INPUT, RELATIONSHIP AND OUTPUT. INPUT refers to the parameters/arguments we pass, RELATIONSHIP refers to the logic we apply to that input and OUTPUT refers to the result of that logic. Makes sense? ๐
@luciantartea For beginners, I would always recommend Codecademy. For full access, you need a membership however I created the YB videos on the Web Development carer path including HTML and CSS subjects. I got permission to use their content for YB. โฌ๏ธ
REPL or Read-Eval-Print-Loop in #NodeJS is an interactive shell that processes Node.js expressions. The shell reads JS code, evaluates the result, prints the result to the user and loops until the user signals to quit.
Local variables or locals in #NodeJS are the information we pass to a template and they are stored in the object as the second parameter of the render() method.
When not calling the 'next' function in an error handling middleware/function in #Nodejs, you are responsible for writing the response. Otherwise, those requests will just 'hang' around.