We require the fs package, and use it’s readFile function to get the contents of the file.js file. Then we console log the contents of it to the stdout. (Or if there is an error e.g. if the file does not exist, we log that instead).
This method is async - there is a sync version as well.