From bb4788e3c6cbba29088faa4f1e779f4fd876451e Mon Sep 17 00:00:00 2001 From: Bedert Date: Wed, 22 Jun 2022 16:28:36 -0500 Subject: [PATCH] feat: Added functionality for 12 (dozen) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e9596f9..978ccc1 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ function isEven(number) { else if(number === 9 || number === "9" || number === "nine" || number === "Nine" || number === "NINE") return false; else if(number === 10 || number === "10" || number === "ten" || number === "Ten" || number === "TEN") return true; else if(number === 11 || number === "11" || number === "eleven" || number === "Eleven" || number === "ELEVEN") return false; - else if(number === 12 || number === "12" || number === "twelve" || number === "Twelve" || number === "TWELVE") return true; + else if(number === 12 || number === "12" || number === "twelve" || number === "Twelve" || number === "TWELVE" || number === "dozen" || number === "Dozen" || number === "DOZEN") return true; else if(number === 13 || number === "13" || number === "thirteen" || number === "Thirteen" || number === "THIRTEEN") return false; else if(number === 14 || number === "14" || number === "fourteen" || number === "Fourteen" || number === "FOURTEEN") return true; else if(number === 15 || number === "15" || number === "fifteen" || number === "Fifteen" || number === "FIFTEEN") return false;