Skip to content
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

Бёрдов Дмитрий #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

CLearERR
Copy link

@CLearERR CLearERR commented May 3, 2017

Ранняя преальфа-версия

@Zhigalov Zhigalov self-assigned this May 4, 2017
Copy link
Contributor

@Zhigalov Zhigalov left a comment

Choose a reason for hiding this comment

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

Задача не решена

function formatDate(date) {
// Напишите код форматирования даты в этом месте
if(!(arguments.length == 1))
throw new Error('Некорректное число аргументов функции');
}
Copy link
Contributor

Choose a reason for hiding this comment

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

А где всё остальное?

// Здесь будет код, который получает твиты и
// выводит их на консоль
request('https://api.twitter.com/1.1/search/tweets.json?q=%23urfu-testing-2016', (err, resp, body) => {
if ((resp.statusCode !== 200) | err) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Зачем ты применяешь побитовые операции |?
логическое или пишется ||

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