From e6f11a7bbbb03bbe764fcd40cec3f25fd9c9aa46 Mon Sep 17 00:00:00 2001 From: "MD. MOJNU MIAH" <94952925+jsmojnu@users.noreply.github.com> Date: Tue, 22 Mar 2022 11:25:57 +0600 Subject: [PATCH] string type resticted --- javascript/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/main.js b/javascript/main.js index 5f3fd61..15ea0fe 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -65,7 +65,7 @@ document.querySelector('#calculateBtn').addEventListener('click', function(){ alert("যে সালে তোমার বয়স বের করতে চাও, জন্ম সাল সেই সাল থেকে বড় হতে পারে না!") ; } else{ - calculateAge(+jonmoDate, +jonmoMonth, jonmoYear, +todayDate, +todayMonth, todayYear); + calculateAge(+jonmoDate, +jonmoMonth, +jonmoYear, +todayDate, +todayMonth, +todayYear); } })