From e3d0a9f81d8556d6d4f2ac9e12bb198227603b2f Mon Sep 17 00:00:00 2001 From: Matthew Centeri Date: Mon, 5 Apr 2021 04:09:59 +0000 Subject: [PATCH] Done. --- index.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/index.js b/index.js index e69de29bb2..bb10bb48ca 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,32 @@ +function add(a,b){ + return a + b; +} +function subtract(a,b){ + return a - b; +} +function multiply(a,b){ + return a * b; +} +function divide(a,b){ + return a / b; +} +function inc(n){ + return n += 1; +} +function dec(n){ + return n -= 1; +} +function makeInt(n) { + return parseInt(n,10 ); +} +function preserveDecimal(n) { + return parseFloat(n); +} + +function increment(n) { + return n += 1 +} + +function decrement(n) { + return n -= 1 +} \ No newline at end of file