chore(main): document function

This commit is contained in:
Kim, Jimin 2023-07-04 11:48:11 +09:00
parent 2f6a538151
commit 120be09c2c

View file

@ -3,6 +3,9 @@ const birthYear = 2002
const birthMonth = 7
const birthDate = 30
/**
* Gets developomp's age with decimal precision
*/
export default function getAge(): number {
const now = Date.now()
const date = new Date()