Require / module tutorial missing code samples

Page Everything you should know about ‘module’ & ‘require’ in Node.js is missing code samples.


You have a file named circle.js which consists of the logic for calculating the area & the circumference of a circle of a given radius, as given below:

circle.js

You can call circle.js file a module named circle .


Where circle.js appears, there should probably be a code snippet or link.

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.