🌈 搜索
📅  最后修改于: 2022-03-11 15:02:00.251000             🧑  作者: Mango
function isDate18orMoreYearsOld(day, month, year) { return new Date(year+18, month-1, day) <= new Date(); }