Welcome to the Treehouse Community
Looking to learn something new?
Neil Ganotisi20,975 Points
What specifically happens when the module.exports line gets used?
In this particular video, the below line gets used when "exporting the router".
module.exports = router;
What happens when this line gets used when interpreted by Node?
you are exporting modules from one file, in this case the router function is being exported from that file, to be executed in another file( your main execution file )