Create ex1
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
const val1 = 10;
|
||||||
|
const val2 = 20;
|
||||||
|
console.log(adder(val1, val2));
|
||||||
|
console.log(adder(20, 30));
|
||||||
|
function adder(a, b) {
|
||||||
|
return a + b;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user