Update ex 3

This commit is contained in:
LSvekis 2021-06-28 17:01:55 -04:00 committed by GitHub
parent eeddb2b206
commit 3985643e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}