mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-08-25 09:21:33 +02:00
6 lines
165 B
JavaScript
6 lines
165 B
JavaScript
import { BIRTH_DATE, getAge } from "../../utils/getAge.ts"
|
|
|
|
const yearOld = document.getElementById("year-old")
|
|
|
|
yearOld.textContent = getAge(BIRTH_DATE).toString()
|