chore(main): document function
This commit is contained in:
parent
2f6a538151
commit
120be09c2c
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ const birthYear = 2002
|
||||||
const birthMonth = 7
|
const birthMonth = 7
|
||||||
const birthDate = 30
|
const birthDate = 30
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets developomp's age with decimal precision
|
||||||
|
*/
|
||||||
export default function getAge(): number {
|
export default function getAge(): number {
|
||||||
const now = Date.now()
|
const now = Date.now()
|
||||||
const date = new Date()
|
const date = new Date()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue