Update ex 3

This commit is contained in:
LSvekis
2021-06-28 17:01:55 -04:00
committed by GitHub
parent eeddb2b206
commit 3985643e28
+2 -6
View File
@@ -7,10 +7,6 @@
myArr.push(res);
}
console.log(myArr);
function cal(a, b, op) {
if (op == "-") {
return a - b;
} else {
return a + b;
}
function cal(a, b) {
return a + b;
}