fix(curriculum): added extra line before </section> tag - Engl… (#36278)
This commit is contained in:
@ -82,4 +82,5 @@ console.log(myArray);
|
||||
let myArray = ["a", "b", "c", "d"];
|
||||
myArray[1] = "e";
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -90,4 +90,5 @@ function checkInventory(scannedItem) {
|
||||
return foods[scannedItem];
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -78,4 +78,5 @@ function mixedNumbers(arr) {
|
||||
return arr;
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -79,4 +79,5 @@ function htmlColorNames(arr) {
|
||||
return arr;
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -100,4 +100,5 @@ foods['grapes'] = 35;
|
||||
foods['strawberries'] = 27;
|
||||
// change code above this line
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -76,4 +76,5 @@ function quickCheck(arr, elem) {
|
||||
// change code above this line
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -116,4 +116,5 @@ function isEveryoneHere(obj) {
|
||||
|
||||
console.log(isEveryoneHere(users));
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -72,4 +72,5 @@ function spreadOut() {
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -93,4 +93,5 @@ function copyMachine(arr,num){
|
||||
}
|
||||
console.log(copyMachine([true, false, true], 2));
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -68,4 +68,5 @@ function forecast(arr) {
|
||||
return arr.slice(2,4);
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -109,4 +109,5 @@ let myNestedArray = [
|
||||
// change code above this line
|
||||
];
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -97,4 +97,5 @@ function getArrayOfUsers(obj) {
|
||||
|
||||
console.log(getArrayOfUsers(users));
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -92,4 +92,5 @@ function filteredArray(arr, elem) {
|
||||
return newArr;
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -41,6 +41,7 @@ We've defined a function <code>countOnline</code> which accepts one argument (a
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
@ -138,4 +139,5 @@ function countOnline(usersObj) {
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -100,4 +100,5 @@ function addFriend(userObj, friend) {
|
||||
return userObj.data.friends;
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -92,4 +92,5 @@ let userActivity = {
|
||||
|
||||
userActivity.data.online = 45;
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -82,4 +82,5 @@ function popShift(arr) {
|
||||
return [shifted, popped];
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -79,4 +79,5 @@ function sumOfTen(arr) {
|
||||
return arr.reduce((a, b) => a + b);
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -90,4 +90,5 @@ let yourArray; // change this line
|
||||
```js
|
||||
let yourArray = ['a string', 100, true, ['one', 2], 'another string'];
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -83,4 +83,5 @@ delete foods.strawberries;
|
||||
|
||||
console.log(foods);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user