What does express.static() return?
A middleware function called serveStatic.
What is the local __dirname variable in a Node.js module?
The absolute path to the directory.
What does the join() method of Node’s path module do?
It joins the absolute directory path with another directory to make static files from that directory accessible. It can go up or down absolute paths via /../ or /dirname.