From 5f18f2cd6028eac388d7f59e8b48d41c18f0177c Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:08:59 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JAVASCRIPT/1.js b/JAVASCRIPT/1.js index f81e89a..ffffa5d 100644 --- a/JAVASCRIPT/1.js +++ b/JAVASCRIPT/1.js @@ -46,7 +46,7 @@ images[currentIndex].classList.add('visible'); async function getCurrentYear() { const now = new Date(); const currentYear = now.getFullYear(); - const currentMonth = now.getMonth() + 1; + const currentMonth = now.getMonth() + 1;console.log(now.getMonth()); let age = currentYear - 2006;