Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

itsYouKristi
Copy link

No description provided.

@@ -17,6 +17,20 @@
@param {number} minutes - Минуты
*/
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) {

Choose a reason for hiding this comment

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

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

this.meetings.push(vacation)
}

};

module.exports.Organaizer = Organaizer;

Choose a reason for hiding this comment

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

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

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 = [];

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