Skip to content

Воробьёва Кристина#33

Open
itsYouKristi wants to merge 1 commit intoRTF-TypeScript-2021:devfrom
itsYouKristi:dev
Open

Воробьёва Кристина#33
itsYouKristi wants to merge 1 commit intoRTF-TypeScript-2021:devfrom
itsYouKristi:dev

Conversation

@itsYouKristi
Copy link
Copy Markdown

No description provided.

*/
function Time(hours, minutes) {

if (typeof (hours) !== "number" && typeof (minutes) !== "number" || !Number.isInteger(minutes) || !Number.isInteger(hours) || hours < 0 || minutes < 0 || hours > 24 || minutes > 60) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
думаю нужно подправить валидацию, чтобы пропускало не более 23 часов


};

module.exports.Organaizer = Organaizer; No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
тесты не выполняются, поправить

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image


function Organaizer(meetings = [], vacations = []) {

this.meetings = [];
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
тесты не выполняются

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants