mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-14 00:03:12 +01:00
6 lines
173 B
JavaScript
6 lines
173 B
JavaScript
|
import { DIVLO_BIRTHDAY, getAge } from '../../utils/getAge.ts'
|
||
|
|
||
|
const yearOld = document.getElementById('year-old')
|
||
|
|
||
|
yearOld.textContent = getAge(DIVLO_BIRTHDAY).toString()
|