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:
Access this course and 1400+ top-rated courses and projects.