moving all labs to old dir

This commit is contained in:
2026-02-26 21:55:48 +10:00
parent 76555d27a4
commit 4f1c66e838
132 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
function sum() {
return arguments.reduce((total, num) => total + num, 0);
}
function sum() {
let total = 0;
for (let i = 0; i < arguments.length; i++) {
total += arguments[i];
}
return total;
}