Skip to content

Week03 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fixed the errors!
  • Loading branch information
EliaYazdi committed Aug 3, 2019
commit 6e4aee1314eea093067ab03d740735c420985387
1 change: 0 additions & 1 deletion Week3/homework/step2-5.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function multiplyAll(arr) {
return product;
}


const result = multiplyAll([
[1, 2],
[3, 4],
Expand Down
3 changes: 1 addition & 2 deletions Week3/homework/step2-6.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ function flattenArray2d(arr) {
}
console.log(flattenArray2d(arr2d));


function flattenArray3d(arr) {
let flattenArr3 = [];
const flattenArr3 = [];
for (let i = 0; i < arr.length; i++) {
for (let j = 0; j < arr[i].length; j++) {
for (let l = 0; l < arr[i][j].length; l++) {
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy