From 08745d0f666c8fbe562fc94e204e4b226ae16f97 Mon Sep 17 00:00:00 2001
From: Ethan <28376972+Evildeathpro@users.noreply.github.com>
Date: Tue, 8 Oct 2019 19:48:39 -0400
Subject: [PATCH 1/4] Update CONTRIBUTORS.md
---
CONTRIBUTORS.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 081b91a0..84bc717d 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -365,3 +365,8 @@ Name: [BenjaminUrquhart](https://github.com/BenjaminUrquhart)
Coding Experience: Discord Bot Developer (Java) + misc. wrappers.
Programming Languages: Python 2/3, Java 8
Email: benjamin@ericsart.com
+
+Name [Ethan Lawrence](https://github.com/Evildeathpro)
+Place: Shippensburg University, USA
+Coding Experience: Discord Bot Developer of ([Chipsbot](https://chipsbot.me)). I am proficient with C#, Java, NodeJS, Python, Ruby, and SQL
+Email: elawrence152@gmail.com
From 155e81cfcf3091bbb7c71ff5ec8444364bc5b013 Mon Sep 17 00:00:00 2001
From: Ethan <28376972+Evildeathpro@users.noreply.github.com>
Date: Tue, 8 Oct 2019 19:49:01 -0400
Subject: [PATCH 2/4] Add files via upload
---
javascript/evildeathpro_countedArray.js | 1 +
javascript/evildeathpro_nextSevenDays.js | 1 +
javascript/evildeathpro_randomHex.js | 1 +
3 files changed, 3 insertions(+)
create mode 100644 javascript/evildeathpro_countedArray.js
create mode 100644 javascript/evildeathpro_nextSevenDays.js
create mode 100644 javascript/evildeathpro_randomHex.js
diff --git a/javascript/evildeathpro_countedArray.js b/javascript/evildeathpro_countedArray.js
new file mode 100644
index 00000000..20a233d6
--- /dev/null
+++ b/javascript/evildeathpro_countedArray.js
@@ -0,0 +1 @@
+const countedArray = length => [...Array(length).keys()];
diff --git a/javascript/evildeathpro_nextSevenDays.js b/javascript/evildeathpro_nextSevenDays.js
new file mode 100644
index 00000000..b287e4ea
--- /dev/null
+++ b/javascript/evildeathpro_nextSevenDays.js
@@ -0,0 +1 @@
+const nextSevenDays = givenDay => [...Array(7).keys()].map(days => new Date((givenDay + 86400000) + 86400000 * days).toLocaleString());
diff --git a/javascript/evildeathpro_randomHex.js b/javascript/evildeathpro_randomHex.js
new file mode 100644
index 00000000..9171fbfe
--- /dev/null
+++ b/javascript/evildeathpro_randomHex.js
@@ -0,0 +1 @@
+const randomHex = hashOrNot => hashOrNot ? '#' : `${Math.floor(Math.random() * 0xffffff).toString(16).padEnd(6, '0')}`;
From 58fd8f91f54e32ff69e9ee2f15e5a1419c2775bb Mon Sep 17 00:00:00 2001
From: Ethan <28376972+Evildeathpro@users.noreply.github.com>
Date: Thu, 17 Oct 2019 16:01:52 -0400
Subject: [PATCH 3/4] Create removeDuplicates.js
---
javascript/removeDuplicates.js | 1 +
1 file changed, 1 insertion(+)
create mode 100644 javascript/removeDuplicates.js
diff --git a/javascript/removeDuplicates.js b/javascript/removeDuplicates.js
new file mode 100644
index 00000000..5e012a46
--- /dev/null
+++ b/javascript/removeDuplicates.js
@@ -0,0 +1 @@
+const removeDuplicates =value => [...new Set(value)];
From e8d4e97f731628692e2474fb850a7f26439bc224 Mon Sep 17 00:00:00 2001
From: William Zhou
Date: Sat, 26 Oct 2019 14:29:52 -0400
Subject: [PATCH 4/4] Rename javascript/removeDuplicates.js to
javascript/unique/evildeathpro_removeDuplicates.js
---
.../evildeathpro_removeDuplicates.js} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename javascript/{removeDuplicates.js => unique/evildeathpro_removeDuplicates.js} (100%)
diff --git a/javascript/removeDuplicates.js b/javascript/unique/evildeathpro_removeDuplicates.js
similarity index 100%
rename from javascript/removeDuplicates.js
rename to javascript/unique/evildeathpro_removeDuplicates.js