{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/comments/216750871","pull_request_review_id":154307366,"id":216750871,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjc1MDg3MQ==","diff_hunk":"@@ -63,34 +63,58 @@ let inventory = [{\"id\":1,\"car_make\":\"Lincoln\",\"car_model\":\"Navigator\",\"car_year\"\n \n // ==== Challenge 1 ====\n // The dealer can't recall the information for a car with an id of 33 on his lot. Help the dealer find out which car has an id of 33 by logging the car's year, make, and model in the console log provided to you below:\n-console.log(`Car 33 is a *car year goes here* *car make goes here* *car model goes here*` );\n+console.log('Car 33 is a' + ' ' + inventory[32].car_year + ' ' + inventory [32].car_make + ' ' + inventory[32].car_model + '.') // *car year goes here* *car make goes here* *car model goes here*` );\n \n \n \n // ==== Challenge 2 ====\n // The dealer needs the information on the last car in their inventory.  What is the make and model of the last car in the inventory?  Log the make and model into the console.\n let lastCar = 0;\n-console.log();\n+for (let i = 0; i < inventory.length; i++) {\n+  if (inventory[i]=== inventory [inventory.length - 1]) {\n+    console.log(inventory[i]);\n+  }\n+}","path":"assignments/arrays.js","position":17,"original_position":17,"commit_id":"6ae4a03408013423453a3c2c1f48e356b0a1caac","original_commit_id":"6ae4a03408013423453a3c2c1f48e356b0a1caac","user":{"login":"Wdifulvio523","id":38021468,"node_id":"MDQ6VXNlcjM4MDIxNDY4","avatar_url":"https://avatars2.githubusercontent.com/u/38021468?v=4","gravatar_id":"","url":"https://api.github.com/users/Wdifulvio523","html_url":"https://github.com/Wdifulvio523","followers_url":"https://api.github.com/users/Wdifulvio523/followers","following_url":"https://api.github.com/users/Wdifulvio523/following{/other_user}","gists_url":"https://api.github.com/users/Wdifulvio523/gists{/gist_id}","starred_url":"https://api.github.com/users/Wdifulvio523/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wdifulvio523/subscriptions","organizations_url":"https://api.github.com/users/Wdifulvio523/orgs","repos_url":"https://api.github.com/users/Wdifulvio523/repos","events_url":"https://api.github.com/users/Wdifulvio523/events{/privacy}","received_events_url":"https://api.github.com/users/Wdifulvio523/received_events","type":"User","site_admin":false},"body":"how can we make it just list the make and the model?","created_at":"2018-09-11T17:19:50Z","updated_at":"2018-09-11T17:19:50Z","html_url":"https://github.com/LambdaSchool/JavaScript-I/pull/365#discussion_r216750871","pull_request_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/comments/216750871"},"html":{"href":"https://github.com/LambdaSchool/JavaScript-I/pull/365#discussion_r216750871"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365","id":214441339,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDQxMzM5","html_url":"https://github.com/LambdaSchool/JavaScript-I/pull/365","diff_url":"https://github.com/LambdaSchool/JavaScript-I/pull/365.diff","patch_url":"https://github.com/LambdaSchool/JavaScript-I/pull/365.patch","issue_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/365","number":365,"state":"open","locked":false,"title":"Savannah Greuel (Javascript I)","user":{"login":"SavannahGreuel","id":42755877,"node_id":"MDQ6VXNlcjQyNzU1ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/42755877?v=4","gravatar_id":"","url":"https://api.github.com/users/SavannahGreuel","html_url":"https://github.com/SavannahGreuel","followers_url":"https://api.github.com/users/SavannahGreuel/followers","following_url":"https://api.github.com/users/SavannahGreuel/following{/other_user}","gists_url":"https://api.github.com/users/SavannahGreuel/gists{/gist_id}","starred_url":"https://api.github.com/users/SavannahGreuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavannahGreuel/subscriptions","organizations_url":"https://api.github.com/users/SavannahGreuel/orgs","repos_url":"https://api.github.com/users/SavannahGreuel/repos","events_url":"https://api.github.com/users/SavannahGreuel/events{/privacy}","received_events_url":"https://api.github.com/users/SavannahGreuel/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-10T20:54:59Z","updated_at":"2018-09-11T17:19:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2213c96e686e2bd49c384b553ab6b19b8efc21c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/365/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/statuses/6ae4a03408013423453a3c2c1f48e356b0a1caac","head":{"label":"SavannahGreuel:master","ref":"master","sha":"6ae4a03408013423453a3c2c1f48e356b0a1caac","user":{"login":"SavannahGreuel","id":42755877,"node_id":"MDQ6VXNlcjQyNzU1ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/42755877?v=4","gravatar_id":"","url":"https://api.github.com/users/SavannahGreuel","html_url":"https://github.com/SavannahGreuel","followers_url":"https://api.github.com/users/SavannahGreuel/followers","following_url":"https://api.github.com/users/SavannahGreuel/following{/other_user}","gists_url":"https://api.github.com/users/SavannahGreuel/gists{/gist_id}","starred_url":"https://api.github.com/users/SavannahGreuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavannahGreuel/subscriptions","organizations_url":"https://api.github.com/users/SavannahGreuel/orgs","repos_url":"https://api.github.com/users/SavannahGreuel/repos","events_url":"https://api.github.com/users/SavannahGreuel/events{/privacy}","received_events_url":"https://api.github.com/users/SavannahGreuel/received_events","type":"User","site_admin":false},"repo":{"id":148211809,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTE4MDk=","name":"JavaScript-I","full_name":"SavannahGreuel/JavaScript-I","owner":{"login":"SavannahGreuel","id":42755877,"node_id":"MDQ6VXNlcjQyNzU1ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/42755877?v=4","gravatar_id":"","url":"https://api.github.com/users/SavannahGreuel","html_url":"https://github.com/SavannahGreuel","followers_url":"https://api.github.com/users/SavannahGreuel/followers","following_url":"https://api.github.com/users/SavannahGreuel/following{/other_user}","gists_url":"https://api.github.com/users/SavannahGreuel/gists{/gist_id}","starred_url":"https://api.github.com/users/SavannahGreuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SavannahGreuel/subscriptions","organizations_url":"https://api.github.com/users/SavannahGreuel/orgs","repos_url":"https://api.github.com/users/SavannahGreuel/repos","events_url":"https://api.github.com/users/SavannahGreuel/events{/privacy}","received_events_url":"https://api.github.com/users/SavannahGreuel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SavannahGreuel/JavaScript-I","description":null,"fork":true,"url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I","forks_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/forks","keys_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/teams","hooks_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/hooks","issue_events_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/issues/events{/number}","events_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/events","assignees_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/assignees{/user}","branches_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/branches{/branch}","tags_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/tags","blobs_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/git/refs{/sha}","trees_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/statuses/{sha}","languages_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/languages","stargazers_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/stargazers","contributors_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/contributors","subscribers_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/subscribers","subscription_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/subscription","commits_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/commits{/sha}","git_commits_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/git/commits{/sha}","comments_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/comments{/number}","issue_comment_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/issues/comments{/number}","contents_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/contents/{+path}","compare_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/merges","archive_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/downloads","issues_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/issues{/number}","pulls_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/pulls{/number}","milestones_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/milestones{/number}","notifications_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/labels{/name}","releases_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/releases{/id}","deployments_url":"https://api.github.com/repos/SavannahGreuel/JavaScript-I/deployments","created_at":"2018-09-10T20:01:23Z","updated_at":"2018-09-10T21:51:20Z","pushed_at":"2018-09-10T21:51:19Z","git_url":"git://github.com/SavannahGreuel/JavaScript-I.git","ssh_url":"git@github.com:SavannahGreuel/JavaScript-I.git","clone_url":"https://github.com/SavannahGreuel/JavaScript-I.git","svn_url":"https://github.com/SavannahGreuel/JavaScript-I","homepage":null,"size":14,"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,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LambdaSchool:master","ref":"master","sha":"05715f9f306f1afe1d9a66b22f9d854a553f7dc2","user":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":128836348,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4MzYzNDg=","name":"JavaScript-I","full_name":"LambdaSchool/JavaScript-I","owner":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LambdaSchool/JavaScript-I","description":null,"fork":false,"url":"https://api.github.com/repos/LambdaSchool/JavaScript-I","forks_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/forks","keys_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/events","assignees_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/merges","archive_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-I/deployments","created_at":"2018-04-09T21:32:17Z","updated_at":"2018-09-10T16:09:56Z","pushed_at":"2018-09-11T17:05:13Z","git_url":"git://github.com/LambdaSchool/JavaScript-I.git","ssh_url":"git@github.com:LambdaSchool/JavaScript-I.git","clone_url":"https://github.com/LambdaSchool/JavaScript-I.git","svn_url":"https://github.com/LambdaSchool/JavaScript-I","homepage":null,"size":12,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":441,"mirror_url":null,"archived":false,"open_issues_count":359,"license":null,"forks":441,"open_issues":359,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365"},"html":{"href":"https://github.com/LambdaSchool/JavaScript-I/pull/365"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/365"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/issues/365/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/pulls/365/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-I/statuses/6ae4a03408013423453a3c2c1f48e356b0a1caac"}},"author_association":"NONE"}}
{"actor":{"display_login":"Wdifulvio523"}}