diff --git a/Chapter 6/Exercise 6.1 b/Chapter 6/Exercise 6.1 new file mode 100644 index 0000000..7fdc102 --- /dev/null +++ b/Chapter 6/Exercise 6.1 @@ -0,0 +1,7 @@ +function adder(a, b) { + return a + b; +} +const val1 = 10; +const val2 = 20; +console.log(adder(val1, val2)); +console.log(adder(20, 30));