fix(curriculum): added extra line before </section> tag - Engl… (#36278)
This commit is contained in:
@@ -133,4 +133,5 @@ function checkScope() {
|
||||
return i;
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -115,4 +115,5 @@ function makeList(arr) {
|
||||
**/
|
||||
const resultDisplayArray = makeList(result.failure);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -90,4 +90,5 @@ function printManyTimes(str) {
|
||||
}
|
||||
printManyTimes("freeCodeCamp");
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -96,4 +96,5 @@ function catTalk() {
|
||||
}
|
||||
catTalk();
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -85,4 +85,5 @@ function editInPlace() {
|
||||
}
|
||||
editInPlace();
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -99,4 +99,5 @@ function freezeObj() {
|
||||
}
|
||||
const PI = freezeObj();
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -65,4 +65,5 @@ console.log(increment(5)); // returns 6
|
||||
```js
|
||||
const increment = (number, value = 1) => number + value;
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -86,4 +86,5 @@ const magic = () => {
|
||||
return new Date();
|
||||
};
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -89,4 +89,5 @@ class Vegetable {
|
||||
}
|
||||
const carrot = new Vegetable('carrot');
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -73,4 +73,5 @@ console.log(b); // should be 8
|
||||
let a = 8, b = 6;
|
||||
[a, b] = [b, a];
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -97,4 +97,5 @@ const { today: { low: lowToday, high: highToday }} = LOCAL_FORECAST;
|
||||
console.log(highToday); // should be 77
|
||||
console.log(highTomorrow); // should be 80
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -89,4 +89,5 @@ const { today: highToday, tomorrow: highTomorrow } = HIGH_TEMPERATURES;
|
||||
console.log(highToday); // should be 77
|
||||
console.log(highTomorrow); // should be 80
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -95,4 +95,5 @@ const stats = {
|
||||
|
||||
const half = ( {max, min} ) => (max + min) / 2.0;
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -79,4 +79,5 @@ function removeFirstTwo(list) {
|
||||
}
|
||||
const arr = removeFirstTwo(source);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -108,4 +108,5 @@ let temp = thermos.temperature; // 24.44 in C
|
||||
thermos.temperature = 26;
|
||||
temp = thermos.temperature; // 26 in C
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -72,4 +72,5 @@ const sum = (...args) => {
|
||||
return args.reduce((a, b) => a + b, 0);
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -81,4 +81,5 @@ let arr2;
|
||||
|
||||
arr2 = [...arr1];
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -85,4 +85,5 @@ const myConcat = (arr1, arr2) => {
|
||||
// test your code
|
||||
console.log(myConcat([1, 2], [3, 4, 5]));
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@@ -83,4 +83,5 @@ const createPerson = (name, age, gender) => {
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user