fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 1 of 4 (#38258)

* fix: consolidate/remove comments

* fix: remove => from comment

* fix: reverted changes to add same changes to another PR

* fix: removed 'the' from sentence

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: removed 'the' from the sentence

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Tom
2020-03-04 13:08:54 -06:00
committed by GitHub
parent 5294936667
commit 17a55c6e18
74 changed files with 123 additions and 237 deletions

View File

@@ -79,8 +79,8 @@ var testObj = {
// Only change code below this line
var playerNumber; // Change this Line
var player = testObj; // Change this Line
var playerNumber; // Change this line
var player = testObj; // Change this line
```
</div>

View File

@@ -75,7 +75,6 @@ function switchOfStuff(val) {
return answer;
}
// Change this value to test
switchOfStuff(1);
```

View File

@@ -81,7 +81,6 @@ function testSize(num) {
// Only change code above this line
}
// Change this value to test
testSize(7);
```

View File

@@ -69,7 +69,6 @@ function testEqual(val) {
return "Not Equal";
}
// Change this value to test
testEqual(10);
```

View File

@@ -70,7 +70,6 @@ function testGreaterOrEqual(val) {
return "Less than 10";
}
// Change this value to test
testGreaterOrEqual(10);
```

View File

@@ -62,7 +62,6 @@ function testNotEqual(val) {
return "Equal";
}
// Change this value to test
testNotEqual(10);
```

View File

@@ -68,7 +68,6 @@ function testLessThan(val) {
return "55 or Over";
}
// Change this value to test
testLessThan(10);
```

View File

@@ -70,7 +70,6 @@ function testLessOrEqual(val) {
return "More Than 24";
}
// Change this value to test
testLessOrEqual(10);
```

View File

@@ -57,7 +57,6 @@ function testStrict(val) {
return "Not Equal";
}
// Change this value to test
testStrict(10);
```

View File

@@ -58,7 +58,6 @@ function testStrictNotEqual(val) {
return "Equal";
}
// Change this value to test
testStrictNotEqual(10);
```

View File

@@ -85,7 +85,6 @@ function testLogicalAnd(val) {
return "No";
}
// Change this value to test
testLogicalAnd(10);
```

View File

@@ -89,7 +89,6 @@ function testLogicalOr(val) {
return "Inside";
}
// Change this value to test
testLogicalOr(15);
```

View File

@@ -61,8 +61,6 @@ function cc(card) {
// Only change code above this line
}
// Add/remove calls to test your function.
// Note: Only the last will display
cc(2); cc(3); cc(7); cc('K'); cc('A');
```

View File

@@ -59,7 +59,6 @@ function randomRange(myMin, myMax) {
}
// Change these values to test your function
var myRandom = randomRange(5, 15);
```

View File

@@ -66,7 +66,6 @@ function golfScore(par, strokes) {
// Only change code above this line
}
// Change these values to test
golfScore(5, 4);
```

View File

@@ -71,7 +71,6 @@ function testElseIf(val) {
return "Between 5 and 10";
}
// Change this value to test
testElseIf(7);
```

View File

@@ -71,7 +71,6 @@ function testElse(val) {
return result;
}
// Change this value to test
testElse(4);
```

View File

@@ -85,7 +85,6 @@ function orderMyLogic(val) {
}
}
// Change this value to test
orderMyLogic(7);
```

View File

@@ -99,7 +99,7 @@ var myMusic = [
],
"gold": true
}
// Add record here
// Add a record here
];
```

View File

@@ -79,7 +79,6 @@ function sequentialSizes(val) {
return answer;
}
// Change this value to test
sequentialSizes(1);
```

View File

@@ -61,7 +61,6 @@ function compareEquality(a, b) {
return "Not Equal";
}
// Change this value to test
compareEquality(10, "10");
```

View File

@@ -84,7 +84,6 @@ function lookUpProfile(name, prop){
// Only change code above this line
}
// Change these values to test your function
lookUpProfile("Akira", "likes");
```

View File

@@ -91,9 +91,7 @@ function updateRecords(id, prop, value) {
return collection;
}
// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
```
</div>

View File

@@ -98,7 +98,6 @@ function chainToSwitch(val) {
return answer;
}
// Change this value to test
chainToSwitch(7);
```

View File

@@ -68,7 +68,6 @@ function isLess(a, b) {
// Only change code above this line
}
// Change these values to test
isLess(10, 15);
```

View File

@@ -68,7 +68,6 @@ function caseInSwitch(val) {
return answer;
}
// Change this value to test
caseInSwitch(1);
```

View File

@@ -78,7 +78,6 @@ function trueOrFalse(wasThatTrue) {
}
// Change this value to test
trueOrFalse(true);
```

View File

@@ -99,7 +99,6 @@ function phoneticLookup(val) {
return result;
}
// Change this value to test
phoneticLookup("charlie");
```