Browse Source

Merge pull request #965 from 01-edu/first-round-of-issues-01-633

issues from the students
pull/967/head
MSilva95 3 years ago committed by GitHub
parent
commit
9ceafedf08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      subjects/get-some-time/README.md
  2. 8
      subjects/index-of/README.md
  3. 2
      subjects/real-time-forum/audit/README.md
  4. 2
      subjects/real-time-forum/typing-in-progress/audit.md
  5. 2
      subjects/rebecca-black/README.md
  6. 5
      subjects/using-map/README.md

7
subjects/get-some-time/README.md

@ -4,8 +4,11 @@
Create a function `firstDayWeek` that receives a week of the year
(from 1 to 53) and a year (as a string), and returns the first day
of that week, in the format: 'dd-mm-yyyy'. By beginning of the week
we mean the monday of that week.
of that week, in the format: 'dd-mm-yyyy'.
In this task you have to assume that the `week #1` is in all cases the week which contains the 1st of January.
By beginning of the week we mean the monday of that week.
If the first week is requested and it starts on the previous year
of the presented one, it should return the first day of the year.

8
subjects/index-of/README.md

@ -4,15 +4,15 @@
Create 3 functions:
- `indexOf` which returns the index of the first occurence of a value and takes as arguments an array to be searched, the value to be matched, and optionally the index from where to start searching from.
- `lastIndexOf` which works just like the previous function but returns the index of the last occurence of a value
- `indexOf` which returns the index of the first occurrence of a value and takes as arguments an array to be searched, the value to be matched, and optionally the index from where to start searching from.
- `lastIndexOf` which works just like the previous function but returns the index of the last occurrence of a value
- `includes` which returns true if the value was found in the array
> If a value is not found, the returned index is -1
> functions should have an array element as first argument,
> both `indexOf` and `lastIndexOf` take an additional `fromIndex` argument
> that allows you to begin searching from a specific index.
> that allows you to begin searching from a specific index and it will work exactly like in the original methods.
### Notions
@ -22,7 +22,7 @@ Create 3 functions:
### Code provided
> all code provided will be added to your solution and doesn't need to be submited.
> all code provided will be added to your solution and doesn't need to be submitted.
```js
Array.prototype.indexOf = undefined

2
subjects/real-time-forum/audit/README.md

@ -1,6 +1,6 @@
#### Functional
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
###### Has the requirement for the allowed packages been respected? (Check the [allowed packages](../README.md))
###### Do you need to register/login in the forum to use it?

2
subjects/real-time-forum/typing-in-progress/audit.md

@ -1,6 +1,6 @@
#### Functional
###### Has the requirement for the allowed packages been respected? (Reminder for this project: only [standard packages](https://golang.org/pkg/))
###### Has the requirement for the allowed packages been respected? (Check the [allowed packages](README.md))
##### Open two browsers (ex: Chrome and Firefox or private windows) and log in with different users in each one. With one user start typing.

2
subjects/rebecca-black/README.md

@ -6,7 +6,7 @@ Create the following functions:
- `isFriday` returns true if the date is a friday
- `isWeekend` returns true if the date is a day of the weekend
- `isLeapYear` returns true if the year is a leap year
- `isLeapYear` returns true if the year of the date is a leap year
- `isLastDayOfMonth` returns true if the date is the last day of the month
### Notions

5
subjects/using-map/README.md

@ -2,8 +2,7 @@
### Instructions
- Create a function named `citiesOnly` which takes an array of objects
and which return an array of strings from the key `city`.
- Create a function named `citiesOnly` which takes an array of objects and which return an array of strings from the key `city`.
#### Example:
@ -21,7 +20,7 @@ citiesOnly([
```
- Create a function named `upperCasingStates` which takes an array of strings
and which Upper Case each words of a string. \
and which Upper Case the first letter of each word in a string. \
The function returns then an array of strings.
#### Example:

Loading…
Cancel
Save