Update 1.js
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ images[currentIndex].classList.add('visible');
|
|||||||
async function getCurrentYear() {
|
async function getCurrentYear() {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const currentYear = now.getFullYear();
|
const currentYear = now.getFullYear();
|
||||||
const currentMonth = now.getMonth() + 1+1;
|
const currentMonth = now.getMonth() + 1;
|
||||||
|
|
||||||
let age = currentYear - 2006;
|
let age = currentYear - 2006;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user