From 00b724c9dd76f835b27a8784eeccfb9c4e0b0419 Mon Sep 17 00:00:00 2001 From: Melanie Brownfield Date: Mon, 22 Jan 2018 04:17:27 +0000 Subject: [PATCH] Done. --- index.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/index.js b/index.js index e69de29..6651255 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,28 @@ +var a = 2 * 1000 +var b = 3 * 1000 + + +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(a){ + return (a + 1) +} +function dec(a){ + return (a - 1) +} +function makeInt(a){ + return parseInt( a, 10) +} +function preserveDecimal(a){ + return parseFloat(a) +} \ No newline at end of file