Licence
ISC
Version
1.0.3
Deps
601
Size
19 kB
Vulns
64
Weekly
0
Get Someone's Age
The function now returns an object with years, months, and days properties.
How to
Run the script with your birthday date as an argument:
node detailedAgeCalculator.js 1990-01-01
The script will output your age in years, months, and days.