fix(curriculum): added extra line before </section> tag - Engl… (#36278)
This commit is contained in:
@ -78,4 +78,5 @@ var first = [1, 2, 3];
|
||||
var second = [4, 5];
|
||||
nonMutatingPush(first, second);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -82,4 +82,5 @@ function urlSlug(title) {
|
||||
|
||||
var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming"
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -71,4 +71,5 @@ function incrementer() {
|
||||
|
||||
var newValue = incrementer(); // Should equal 5
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -75,4 +75,5 @@ function sentensify(str) {
|
||||
// Add your code above this line
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -74,4 +74,5 @@ var first = [1, 2, 3];
|
||||
var second = [4, 5];
|
||||
nonMutatingConcat(first, second);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -82,4 +82,5 @@ var new_s = s.myMap(function(item){
|
||||
return item * 2;
|
||||
});
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -80,4 +80,5 @@ var new_s = s.myFilter(function(item){
|
||||
return item % 2 === 1;
|
||||
});
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -100,4 +100,5 @@ add(10)(20)(30);
|
||||
```js
|
||||
const add = x => y => z => x + y + z
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -97,4 +97,5 @@ const getTea = (numOfCups) => {
|
||||
|
||||
const tea4TeamFCC = getTea(40);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -74,4 +74,5 @@ const incrementer = val => val + 1;
|
||||
var newValue = incrementer(fixedValue); // Should equal 5
|
||||
console.log(fixedValue); // Should print 4
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -118,4 +118,5 @@ var newBookList = add(bookList, 'A Brief History of Time');
|
||||
var newerBookList = remove(bookList, 'On The Electrodynamics of Moving Bodies');
|
||||
var newestBookList = remove(add(bookList, 'A Brief History of Time'), 'On The Electrodynamics of Moving Bodies');
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -75,4 +75,5 @@ function nonMutatingSplice(cities) {
|
||||
var inputCities = ["Chicago", "Delhi", "Islamabad", "London", "Berlin"];
|
||||
nonMutatingSplice(inputCities);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -66,4 +66,5 @@ function nonMutatingSort(arr) {
|
||||
}
|
||||
nonMutatingSort(globalArray);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -76,4 +76,5 @@ function sliceArray(anim, beginSlice, endSlice) {
|
||||
var inputAnim = ["Cat", "Dog", "Tiger", "Zebra", "Ant"];
|
||||
sliceArray(inputAnim, 1, 3);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -89,4 +89,5 @@ function alphabeticalOrder(arr) {
|
||||
}
|
||||
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -76,4 +76,5 @@ function splitify(str) {
|
||||
// Add your code above this line
|
||||
}
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -114,4 +114,5 @@ const getTea = (prepareTea, numOfCups) => {
|
||||
const tea4BlackTeamFCC = getTea(prepareBlackTea, 13);
|
||||
const tea4GreenTeamFCC = getTea(prepareGreenTea, 27);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -136,4 +136,5 @@ var finalTabs = socialWindow
|
||||
.join(videoWindow.tabClose(2)) // Close third tab in video window, and join
|
||||
.join(workWindow.tabClose(1).tabOpen());
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -79,4 +79,5 @@ const squareList = (arr) => {
|
||||
return squaredIntegers;
|
||||
};
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -74,4 +74,5 @@ function checkPositive(arr) {
|
||||
}
|
||||
checkPositive([1, 2, 3, -4, 5]);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -289,4 +289,5 @@ var watchList = [
|
||||
let filteredList = watchList.filter(e => e.imdbRating >= 8).map( ({Title: title, imdbRating: rating}) => ({title, rating}) );
|
||||
// Add your code above this line
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -306,4 +306,5 @@ var rating = watchList.map(function(movie) {
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -302,4 +302,5 @@ function getRating(watchList){
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
@ -74,4 +74,5 @@ function checkPositive(arr) {
|
||||
}
|
||||
checkPositive([1, 2, 3, -4, 5]);
|
||||
```
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user