Skip to content

Второе домашнее задание #5

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 2 commits into
base: master
Choose a base branch
from

Conversation

NBronina
Copy link

Не поняла, на что ругается http://jslint.com/

Создание объекта. Есть ошибки при проверке в http://jslint.com/
@azproduction
Copy link
Member

На Unexpected 'typeof'. Use '===' to compare directly with undefined. можно не обращать вимание - эту проверку никак не отключить.

* @return {Object}
*/
/*jslint browser: true, devel: true */
function Event(name, start, end, participants, organizer, place, info, reminder, type) {
Copy link
Member

Choose a reason for hiding this comment

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

Функция имеет слишком много параметров подумай как можно уменьшить их число.

изменен тип поля "reminder", добавлено поле "party" для подтверждения
участия в событии
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.

2 participants