From 1b796fe782673603b0a50ec708e48163d5dcbcae Mon Sep 17 00:00:00 2001 From: vikiana-petithomme <113193304+vikiana-petithomme@users.noreply.github.com> Date: Tue, 3 Jan 2023 20:35:35 -0500 Subject: [PATCH] 1/3 practice --- Week 18/BeginnerSeries2Clock.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Week 18/BeginnerSeries2Clock.js diff --git a/Week 18/BeginnerSeries2Clock.js b/Week 18/BeginnerSeries2Clock.js new file mode 100644 index 0000000..64520e2 --- /dev/null +++ b/Week 18/BeginnerSeries2Clock.js @@ -0,0 +1,8 @@ +function past(h, m, s) { + //#Happy Coding! ^_^ + s += m * 60; + s += h * 60 * 60; + let ms = s * 1000; + + return ms; +}