Coding Challenge: Circles Again
Apply what you have learned about Node.js so far.
We'll cover the following
Problem statement
Create a circle.js
module exporting two functions circumference()
and area()
, each taking the circle radius as a parameter. Load this module in an index.js
file and test the two functions.
Expected output:
Get hands-on with 1400+ tech skills courses.