Skip to content

Commit 7fee627

Browse files
committed
studio done
1 parent 11b8e72 commit 7fee627

File tree

6,879 files changed

+757370
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,879 files changed

+757370
-16
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.DS_Store
1+
.DS_Store
2+
**/node_modules

arrays/exercises/part-six-arrays.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ let array3D = [];
3434
array3D.push(item1,item2,item3);
3535
console.log (array3D);
3636
console.log(array3D[0]);
37-
console.log(array3D[0][0]);
38-
console.log(array3D[0][0][0]);
37+
console.log(array3D[1][1]);
38+
console.log(array3D[2][2][2]);

arrays/studio/array-string-conversion/array-testing.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ strings = [protoArray1, protoArray2, protoArray3, protoArray4];
88
//2)
99
function reverseCommas() {
1010
//TODO: 1. create and instantiate your variables.
11+
1112
let check;
1213
let output;
13-
//TODO: 2. write the code required for this step
1414

15+
//TODO: 2. write the code required for this step
16+
output = strings[0].split(",").reverse().join(",")
1517
//NOTE: For the code to run properly, you must return your output. this needs to be the final line of code within the function's { }.
1618
return output;
1719
}
@@ -22,7 +24,7 @@ function semiDash() {
2224
let output;
2325
//TODO: write the code required for this step
2426

25-
27+
output = strings[1].split(";").sort().join("-")
2628
return output;
2729
}
2830

@@ -31,7 +33,7 @@ function reverseSpaces() {
3133
let check;
3234
let output;
3335
//TODO: write the code required for this step
34-
36+
output = strings[2].split(" ").sort().reverse().join(" ")
3537
return output;
3638
}
3739

@@ -40,7 +42,7 @@ function commaSpace() {
4042
let check;
4143
let output;
4244
//TODO: write the code required for this step
43-
45+
output = strings[3].split(", ").reverse().join(",")
4446
return output;
4547
}
4648

@@ -51,4 +53,4 @@ module.exports = {
5153
semiDash: semiDash,
5254
reverseSpaces : reverseSpaces,
5355
commaSpace : commaSpace
54-
};
56+
}

arrays/studio/array-string-conversion/node_modules/.bin/acorn

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/acorn.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/acorn.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/browserslist

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/browserslist.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/browserslist.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/create-jest

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/create-jest.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/create-jest.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/escodegen

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/escodegen.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/escodegen.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/esgenerate

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/esgenerate.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/esgenerate.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arrays/studio/array-string-conversion/node_modules/.bin/esparse

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)