From 262b2ade1c3b32dfb2178c55cbf90563770c533b Mon Sep 17 00:00:00 2001 From: Lav-Bhatta Date: Tue, 6 Oct 2020 18:10:13 -0500 Subject: [PATCH 1/2] first --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 73f240372..5a87b3750 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ //Task a: declare a variable called votingAge, console log true if age > 18 (no function required) - +const votingAge //Task b: declare a variable and then use a conditional to change the value of that variable based on the value assigned to a second variable (no function required) From b8dca71c6ab1e12f9e0d2f5ad8334f20b487a854 Mon Sep 17 00:00:00 2001 From: Lav-Bhatta Date: Tue, 6 Oct 2020 18:31:19 -0500 Subject: [PATCH 2/2] second --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5a87b3750..dcf2d40c5 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ //Task a: declare a variable called votingAge, console log true if age > 18 (no function required) -const votingAge +const votingAge(18) //Task b: declare a variable and then use a conditional to change the value of that variable based on the value assigned to a second variable (no function required)