From 64108728b2db7ca770730cb6f80b693f0ef12b30 Mon Sep 17 00:00:00 2001 From: Araan Branco Date: Tue, 16 Oct 2018 02:51:54 -0300 Subject: [PATCH 1/2] Add hello Hacktoberfun in JS --- araanbranco/helloberfun.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 araanbranco/helloberfun.js diff --git a/araanbranco/helloberfun.js b/araanbranco/helloberfun.js new file mode 100644 index 0000000..a32b6e7 --- /dev/null +++ b/araanbranco/helloberfun.js @@ -0,0 +1 @@ +console.log('Hello Hacktoberfun') \ No newline at end of file From 59923097b7a5645a840e4dda54e18b3d3c184f37 Mon Sep 17 00:00:00 2001 From: Araan Branco Date: Tue, 16 Oct 2018 02:55:04 -0300 Subject: [PATCH 2/2] Add function sum in JS --- araanbranco/sum.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 araanbranco/sum.js diff --git a/araanbranco/sum.js b/araanbranco/sum.js new file mode 100644 index 0000000..3ab8ed6 --- /dev/null +++ b/araanbranco/sum.js @@ -0,0 +1,5 @@ +function sum (a, b) { + return a + b +} + +console.log(sum(5,4)) \ No newline at end of file