{"action":"created","comment":{"url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/comments/272806700","pull_request_review_id":223553383,"id":272806700,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3MjgwNjcwMA==","diff_hunk":"@@ -0,0 +1,58 @@\n+//Напишите функцию, которая делает первый символ строки заглавным \n+//(задание со звездочкой - капитализируйте каждое слово)\n+function capitalize(str) {\n+    if (!str) return str;\n+\n+  return str[0].toUpperCase() + str.slice(1);//toUpperCase() делает первый эл-т массива заглавным, \n+  //slice() возвращает часть строки начиная с 1 эл-та и до конца\n+}\n+\n+//Напишите функцию, которая вернет строку, усеченную до n символов и добавляет в конец многоточие \n+//(если n > длина строки - ничего делать не надо)\n+function truncate(str, n) {\n+    if (n > str.length) {\n+        return str;\n+      }\n+      return str.slice(0, n) + \"...\";\n+}\n+\n+//Определите, пуст ли объект\n+function isEmpty(obj) {\n+        for (let key in obj) {\n+          return false;\n+        }\n+        return true;\n+}\n+\n+//Напишите функцию, умножающую численные свойства на 2\n+function multiply(obj) {\n+    return function(number) {","path":"structures/structures.js","position":null,"original_position":29,"commit_id":"e19befa0556f75c0c0ffd3983df522940ead2e5a","original_commit_id":"dc9701f42d2eef7d3009670592b28409af429b92","user":{"login":"Rozhdestvenskaya","id":44972886,"node_id":"MDQ6VXNlcjQ0OTcyODg2","avatar_url":"https://avatars1.githubusercontent.com/u/44972886?v=4","gravatar_id":"","url":"https://api.github.com/users/Rozhdestvenskaya","html_url":"https://github.com/Rozhdestvenskaya","followers_url":"https://api.github.com/users/Rozhdestvenskaya/followers","following_url":"https://api.github.com/users/Rozhdestvenskaya/following{/other_user}","gists_url":"https://api.github.com/users/Rozhdestvenskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/Rozhdestvenskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rozhdestvenskaya/subscriptions","organizations_url":"https://api.github.com/users/Rozhdestvenskaya/orgs","repos_url":"https://api.github.com/users/Rozhdestvenskaya/repos","events_url":"https://api.github.com/users/Rozhdestvenskaya/events{/privacy}","received_events_url":"https://api.github.com/users/Rozhdestvenskaya/received_events","type":"User","site_admin":false},"body":"Готово","created_at":"2019-04-06T19:23:14Z","updated_at":"2019-04-06T19:23:14Z","html_url":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61#discussion_r272806700","pull_request_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/comments/272806700"},"html":{"href":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61#discussion_r272806700"},"pull_request":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61"}},"in_reply_to_id":272805760},"pull_request":{"url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61","id":268054240,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY4MDU0MjQw","html_url":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61","diff_url":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61.diff","patch_url":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61.patch","issue_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/61","number":61,"state":"open","locked":false,"title":"Rozhdestvenskaya lesson 1+2","user":{"login":"Rozhdestvenskaya","id":44972886,"node_id":"MDQ6VXNlcjQ0OTcyODg2","avatar_url":"https://avatars1.githubusercontent.com/u/44972886?v=4","gravatar_id":"","url":"https://api.github.com/users/Rozhdestvenskaya","html_url":"https://github.com/Rozhdestvenskaya","followers_url":"https://api.github.com/users/Rozhdestvenskaya/followers","following_url":"https://api.github.com/users/Rozhdestvenskaya/following{/other_user}","gists_url":"https://api.github.com/users/Rozhdestvenskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/Rozhdestvenskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rozhdestvenskaya/subscriptions","organizations_url":"https://api.github.com/users/Rozhdestvenskaya/orgs","repos_url":"https://api.github.com/users/Rozhdestvenskaya/repos","events_url":"https://api.github.com/users/Rozhdestvenskaya/events{/privacy}","received_events_url":"https://api.github.com/users/Rozhdestvenskaya/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-04-06T18:38:52Z","updated_at":"2019-04-06T19:23:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b32725fc37d0bedb0211301cd991e01f4c800abb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61/commits","review_comments_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61/comments","review_comment_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/61/comments","statuses_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/statuses/e19befa0556f75c0c0ffd3983df522940ead2e5a","head":{"label":"Rozhdestvenskaya:master","ref":"master","sha":"e19befa0556f75c0c0ffd3983df522940ead2e5a","user":{"login":"Rozhdestvenskaya","id":44972886,"node_id":"MDQ6VXNlcjQ0OTcyODg2","avatar_url":"https://avatars1.githubusercontent.com/u/44972886?v=4","gravatar_id":"","url":"https://api.github.com/users/Rozhdestvenskaya","html_url":"https://github.com/Rozhdestvenskaya","followers_url":"https://api.github.com/users/Rozhdestvenskaya/followers","following_url":"https://api.github.com/users/Rozhdestvenskaya/following{/other_user}","gists_url":"https://api.github.com/users/Rozhdestvenskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/Rozhdestvenskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rozhdestvenskaya/subscriptions","organizations_url":"https://api.github.com/users/Rozhdestvenskaya/orgs","repos_url":"https://api.github.com/users/Rozhdestvenskaya/repos","events_url":"https://api.github.com/users/Rozhdestvenskaya/events{/privacy}","received_events_url":"https://api.github.com/users/Rozhdestvenskaya/received_events","type":"User","site_admin":false},"repo":{"id":177179171,"node_id":"MDEwOlJlcG9zaXRvcnkxNzcxNzkxNzE=","name":"nniit-js-course","full_name":"Rozhdestvenskaya/nniit-js-course","private":false,"owner":{"login":"Rozhdestvenskaya","id":44972886,"node_id":"MDQ6VXNlcjQ0OTcyODg2","avatar_url":"https://avatars1.githubusercontent.com/u/44972886?v=4","gravatar_id":"","url":"https://api.github.com/users/Rozhdestvenskaya","html_url":"https://github.com/Rozhdestvenskaya","followers_url":"https://api.github.com/users/Rozhdestvenskaya/followers","following_url":"https://api.github.com/users/Rozhdestvenskaya/following{/other_user}","gists_url":"https://api.github.com/users/Rozhdestvenskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/Rozhdestvenskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rozhdestvenskaya/subscriptions","organizations_url":"https://api.github.com/users/Rozhdestvenskaya/orgs","repos_url":"https://api.github.com/users/Rozhdestvenskaya/repos","events_url":"https://api.github.com/users/Rozhdestvenskaya/events{/privacy}","received_events_url":"https://api.github.com/users/Rozhdestvenskaya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Rozhdestvenskaya/nniit-js-course","description":null,"fork":true,"url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course","forks_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/forks","keys_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/teams","hooks_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/hooks","issue_events_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/issues/events{/number}","events_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/events","assignees_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/assignees{/user}","branches_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/branches{/branch}","tags_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/tags","blobs_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/statuses/{sha}","languages_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/languages","stargazers_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/stargazers","contributors_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/contributors","subscribers_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/subscribers","subscription_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/subscription","commits_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/contents/{+path}","compare_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/merges","archive_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/downloads","issues_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/issues{/number}","pulls_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/pulls{/number}","milestones_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/milestones{/number}","notifications_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/labels{/name}","releases_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/releases{/id}","deployments_url":"https://api.github.com/repos/Rozhdestvenskaya/nniit-js-course/deployments","created_at":"2019-03-22T17:00:07Z","updated_at":"2019-04-06T19:10:56Z","pushed_at":"2019-04-06T19:10:54Z","git_url":"git://github.com/Rozhdestvenskaya/nniit-js-course.git","ssh_url":"git@github.com:Rozhdestvenskaya/nniit-js-course.git","clone_url":"https://github.com/Rozhdestvenskaya/nniit-js-course.git","svn_url":"https://github.com/Rozhdestvenskaya/nniit-js-course","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LuckyWasTaken:master","ref":"master","sha":"573d93d7ffb856f8c4609d208c5a25ce1b890552","user":{"login":"LuckyWasTaken","id":10729291,"node_id":"MDQ6VXNlcjEwNzI5Mjkx","avatar_url":"https://avatars2.githubusercontent.com/u/10729291?v=4","gravatar_id":"","url":"https://api.github.com/users/LuckyWasTaken","html_url":"https://github.com/LuckyWasTaken","followers_url":"https://api.github.com/users/LuckyWasTaken/followers","following_url":"https://api.github.com/users/LuckyWasTaken/following{/other_user}","gists_url":"https://api.github.com/users/LuckyWasTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyWasTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyWasTaken/subscriptions","organizations_url":"https://api.github.com/users/LuckyWasTaken/orgs","repos_url":"https://api.github.com/users/LuckyWasTaken/repos","events_url":"https://api.github.com/users/LuckyWasTaken/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyWasTaken/received_events","type":"User","site_admin":false},"repo":{"id":172681729,"node_id":"MDEwOlJlcG9zaXRvcnkxNzI2ODE3Mjk=","name":"nniit-js-course","full_name":"LuckyWasTaken/nniit-js-course","private":false,"owner":{"login":"LuckyWasTaken","id":10729291,"node_id":"MDQ6VXNlcjEwNzI5Mjkx","avatar_url":"https://avatars2.githubusercontent.com/u/10729291?v=4","gravatar_id":"","url":"https://api.github.com/users/LuckyWasTaken","html_url":"https://github.com/LuckyWasTaken","followers_url":"https://api.github.com/users/LuckyWasTaken/followers","following_url":"https://api.github.com/users/LuckyWasTaken/following{/other_user}","gists_url":"https://api.github.com/users/LuckyWasTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyWasTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyWasTaken/subscriptions","organizations_url":"https://api.github.com/users/LuckyWasTaken/orgs","repos_url":"https://api.github.com/users/LuckyWasTaken/repos","events_url":"https://api.github.com/users/LuckyWasTaken/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyWasTaken/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LuckyWasTaken/nniit-js-course","description":null,"fork":false,"url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course","forks_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/forks","keys_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/teams","hooks_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/hooks","issue_events_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/events{/number}","events_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/events","assignees_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/assignees{/user}","branches_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/branches{/branch}","tags_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/tags","blobs_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/statuses/{sha}","languages_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/languages","stargazers_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/stargazers","contributors_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/contributors","subscribers_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/subscribers","subscription_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/subscription","commits_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/contents/{+path}","compare_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/merges","archive_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/downloads","issues_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues{/number}","pulls_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls{/number}","milestones_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/milestones{/number}","notifications_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/labels{/name}","releases_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/releases{/id}","deployments_url":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/deployments","created_at":"2019-02-26T09:38:58Z","updated_at":"2019-04-06T05:56:48Z","pushed_at":"2019-04-06T19:10:55Z","git_url":"git://github.com/LuckyWasTaken/nniit-js-course.git","ssh_url":"git@github.com:LuckyWasTaken/nniit-js-course.git","clone_url":"https://github.com/LuckyWasTaken/nniit-js-course.git","svn_url":"https://github.com/LuckyWasTaken/nniit-js-course","homepage":null,"size":38,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":null,"forks":30,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61"},"html":{"href":"https://github.com/LuckyWasTaken/nniit-js-course/pull/61"},"issue":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/61"},"comments":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/LuckyWasTaken/nniit-js-course/statuses/e19befa0556f75c0c0ffd3983df522940ead2e5a"}},"author_association":"NONE"}}
{"actor":{"display_login":"Rozhdestvenskaya"}}