{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/comments/134479184","pull_request_review_id":57774165,"id":134479184,"diff_hunk":"@@ -1,21 +1,36 @@\n ## Week One - Module 4 Recap\n \n-Fork this respository. Answer the questions to the best of your ability. Try to answer them with limited amount of external research. These questions cover the majority of what we've learned this week. \n+Fork this respository. Answer the questions to the best of your ability. Try to answer them with limited amount of external research. These questions cover the majority of what we've learned this week.\n \n-Note: When you're done, submit a PR. \n+Note: When you're done, submit a PR.\n \n 1. What's the most useful thing you learned from completing the intermission week work?\n++ Understanding that way I would approach problems in Ruby can be applied to JavaScript.\n 2. What are some tools to help debug JavaScript code?\n++ eval(pry.it), debugger and console.log\n 3. What are some tools you need in order to unit test your JavaScript?\n++ Chai and Mocha\n 4. What is the syntax for invoking a function?\n++ functionName();\n 5. What's the difference between `==` and `===` in JavaScript?\n-6. What's the difference between asynchronous and synchronous JavaScript? \n++ `==` uses type conversion when comparing and `===` does not.  \n+6. What's the difference between asynchronous and synchronous JavaScript?\n++ Asynchronous means that it can happen while other functions are performed, while synchronous means that it will\n+perform inline with everything else.\n 7. What's a callback function and what are some reasons when we use/need callback functions?\n++ Callbacks are anonymous functions within functions `$(this).on('click', function(){})`. They are useful because they follow logical design patterns like 'this then that'.   \n 8. What's the biggest difference between a promise and a callback?\n++ A promise object is what many asynchronous functions return (like an AJAX request) and we use callbacks on these objects to further manipulate elements.\n 9. How do we setup a route when creating an API with Node and Express?\n 10. What's `npm` and what do we use it for?\n++ It is the default package manager for node.js and allows developers to download useful add-ons for their application.  \n \n #### Review  \n 11. What's the MVC design pattern? Describe each part of MVC?\n++ Model - Contains all the information a particular model needs to operate in your program.\n++ View - Displays the data from your program.\n++ Controller - Controls what information is passed to the model and to the view.\n 12. What is AJAX? What are some benefits of using AJAX?\n++ Asynchronous JavaScript and XML. The benefits of using AJAX is that it can operate in the background, while other elements on your page load. The progress of the view is not dependent on it being done.","path":"module-4/backend/week_one.md","position":37,"original_position":37,"commit_id":"6ad61007b6ea3b2424f7cfc67cac77ff1c10ece1","original_commit_id":"6ad61007b6ea3b2424f7cfc67cac77ff1c10ece1","user":{"login":"case-eee","id":6503717,"avatar_url":"https://avatars0.githubusercontent.com/u/6503717?v=4","gravatar_id":"","url":"https://api.github.com/users/case-eee","html_url":"https://github.com/case-eee","followers_url":"https://api.github.com/users/case-eee/followers","following_url":"https://api.github.com/users/case-eee/following{/other_user}","gists_url":"https://api.github.com/users/case-eee/gists{/gist_id}","starred_url":"https://api.github.com/users/case-eee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/case-eee/subscriptions","organizations_url":"https://api.github.com/users/case-eee/orgs","repos_url":"https://api.github.com/users/case-eee/repos","events_url":"https://api.github.com/users/case-eee/events{/privacy}","received_events_url":"https://api.github.com/users/case-eee/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2017-08-22T13:27:24Z","updated_at":"2017-08-22T13:28:00Z","html_url":"https://github.com/turingschool/checks-for-understanding/pull/405#discussion_r134479184","pull_request_url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405","_links":{"self":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/comments/134479184"},"html":{"href":"https://github.com/turingschool/checks-for-understanding/pull/405#discussion_r134479184"},"pull_request":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405","id":136852867,"html_url":"https://github.com/turingschool/checks-for-understanding/pull/405","diff_url":"https://github.com/turingschool/checks-for-understanding/pull/405.diff","patch_url":"https://github.com/turingschool/checks-for-understanding/pull/405.patch","issue_url":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/405","number":405,"state":"open","locked":false,"title":"mod4_be_carl_richmond_cfu_week_one","user":{"login":"ACC25","id":23218365,"avatar_url":"https://avatars1.githubusercontent.com/u/23218365?v=4","gravatar_id":"","url":"https://api.github.com/users/ACC25","html_url":"https://github.com/ACC25","followers_url":"https://api.github.com/users/ACC25/followers","following_url":"https://api.github.com/users/ACC25/following{/other_user}","gists_url":"https://api.github.com/users/ACC25/gists{/gist_id}","starred_url":"https://api.github.com/users/ACC25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACC25/subscriptions","organizations_url":"https://api.github.com/users/ACC25/orgs","repos_url":"https://api.github.com/users/ACC25/repos","events_url":"https://api.github.com/users/ACC25/events{/privacy}","received_events_url":"https://api.github.com/users/ACC25/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-21T22:05:11Z","updated_at":"2017-08-22T13:28:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"case-eee","id":6503717,"avatar_url":"https://avatars0.githubusercontent.com/u/6503717?v=4","gravatar_id":"","url":"https://api.github.com/users/case-eee","html_url":"https://github.com/case-eee","followers_url":"https://api.github.com/users/case-eee/followers","following_url":"https://api.github.com/users/case-eee/following{/other_user}","gists_url":"https://api.github.com/users/case-eee/gists{/gist_id}","starred_url":"https://api.github.com/users/case-eee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/case-eee/subscriptions","organizations_url":"https://api.github.com/users/case-eee/orgs","repos_url":"https://api.github.com/users/case-eee/repos","events_url":"https://api.github.com/users/case-eee/events{/privacy}","received_events_url":"https://api.github.com/users/case-eee/received_events","type":"User","site_admin":false},"assignees":[{"login":"case-eee","id":6503717,"avatar_url":"https://avatars0.githubusercontent.com/u/6503717?v=4","gravatar_id":"","url":"https://api.github.com/users/case-eee","html_url":"https://github.com/case-eee","followers_url":"https://api.github.com/users/case-eee/followers","following_url":"https://api.github.com/users/case-eee/following{/other_user}","gists_url":"https://api.github.com/users/case-eee/gists{/gist_id}","starred_url":"https://api.github.com/users/case-eee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/case-eee/subscriptions","organizations_url":"https://api.github.com/users/case-eee/orgs","repos_url":"https://api.github.com/users/case-eee/repos","events_url":"https://api.github.com/users/case-eee/events{/privacy}","received_events_url":"https://api.github.com/users/case-eee/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405/commits","review_comments_url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405/comments","review_comment_url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/405/comments","statuses_url":"https://api.github.com/repos/turingschool/checks-for-understanding/statuses/6ad61007b6ea3b2424f7cfc67cac77ff1c10ece1","head":{"label":"ACC25:master","ref":"master","sha":"6ad61007b6ea3b2424f7cfc67cac77ff1c10ece1","user":{"login":"ACC25","id":23218365,"avatar_url":"https://avatars1.githubusercontent.com/u/23218365?v=4","gravatar_id":"","url":"https://api.github.com/users/ACC25","html_url":"https://github.com/ACC25","followers_url":"https://api.github.com/users/ACC25/followers","following_url":"https://api.github.com/users/ACC25/following{/other_user}","gists_url":"https://api.github.com/users/ACC25/gists{/gist_id}","starred_url":"https://api.github.com/users/ACC25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACC25/subscriptions","organizations_url":"https://api.github.com/users/ACC25/orgs","repos_url":"https://api.github.com/users/ACC25/repos","events_url":"https://api.github.com/users/ACC25/events{/privacy}","received_events_url":"https://api.github.com/users/ACC25/received_events","type":"User","site_admin":false},"repo":{"id":90639613,"name":"checks-for-understanding","full_name":"ACC25/checks-for-understanding","owner":{"login":"ACC25","id":23218365,"avatar_url":"https://avatars1.githubusercontent.com/u/23218365?v=4","gravatar_id":"","url":"https://api.github.com/users/ACC25","html_url":"https://github.com/ACC25","followers_url":"https://api.github.com/users/ACC25/followers","following_url":"https://api.github.com/users/ACC25/following{/other_user}","gists_url":"https://api.github.com/users/ACC25/gists{/gist_id}","starred_url":"https://api.github.com/users/ACC25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACC25/subscriptions","organizations_url":"https://api.github.com/users/ACC25/orgs","repos_url":"https://api.github.com/users/ACC25/repos","events_url":"https://api.github.com/users/ACC25/events{/privacy}","received_events_url":"https://api.github.com/users/ACC25/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ACC25/checks-for-understanding","description":null,"fork":true,"url":"https://api.github.com/repos/ACC25/checks-for-understanding","forks_url":"https://api.github.com/repos/ACC25/checks-for-understanding/forks","keys_url":"https://api.github.com/repos/ACC25/checks-for-understanding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ACC25/checks-for-understanding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ACC25/checks-for-understanding/teams","hooks_url":"https://api.github.com/repos/ACC25/checks-for-understanding/hooks","issue_events_url":"https://api.github.com/repos/ACC25/checks-for-understanding/issues/events{/number}","events_url":"https://api.github.com/repos/ACC25/checks-for-understanding/events","assignees_url":"https://api.github.com/repos/ACC25/checks-for-understanding/assignees{/user}","branches_url":"https://api.github.com/repos/ACC25/checks-for-understanding/branches{/branch}","tags_url":"https://api.github.com/repos/ACC25/checks-for-understanding/tags","blobs_url":"https://api.github.com/repos/ACC25/checks-for-understanding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ACC25/checks-for-understanding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ACC25/checks-for-understanding/git/refs{/sha}","trees_url":"https://api.github.com/repos/ACC25/checks-for-understanding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ACC25/checks-for-understanding/statuses/{sha}","languages_url":"https://api.github.com/repos/ACC25/checks-for-understanding/languages","stargazers_url":"https://api.github.com/repos/ACC25/checks-for-understanding/stargazers","contributors_url":"https://api.github.com/repos/ACC25/checks-for-understanding/contributors","subscribers_url":"https://api.github.com/repos/ACC25/checks-for-understanding/subscribers","subscription_url":"https://api.github.com/repos/ACC25/checks-for-understanding/subscription","commits_url":"https://api.github.com/repos/ACC25/checks-for-understanding/commits{/sha}","git_commits_url":"https://api.github.com/repos/ACC25/checks-for-understanding/git/commits{/sha}","comments_url":"https://api.github.com/repos/ACC25/checks-for-understanding/comments{/number}","issue_comment_url":"https://api.github.com/repos/ACC25/checks-for-understanding/issues/comments{/number}","contents_url":"https://api.github.com/repos/ACC25/checks-for-understanding/contents/{+path}","compare_url":"https://api.github.com/repos/ACC25/checks-for-understanding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ACC25/checks-for-understanding/merges","archive_url":"https://api.github.com/repos/ACC25/checks-for-understanding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ACC25/checks-for-understanding/downloads","issues_url":"https://api.github.com/repos/ACC25/checks-for-understanding/issues{/number}","pulls_url":"https://api.github.com/repos/ACC25/checks-for-understanding/pulls{/number}","milestones_url":"https://api.github.com/repos/ACC25/checks-for-understanding/milestones{/number}","notifications_url":"https://api.github.com/repos/ACC25/checks-for-understanding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ACC25/checks-for-understanding/labels{/name}","releases_url":"https://api.github.com/repos/ACC25/checks-for-understanding/releases{/id}","deployments_url":"https://api.github.com/repos/ACC25/checks-for-understanding/deployments","created_at":"2017-05-08T14:47:52Z","updated_at":"2017-02-13T00:30:11Z","pushed_at":"2017-08-21T22:04:02Z","git_url":"git://github.com/ACC25/checks-for-understanding.git","ssh_url":"git@github.com:ACC25/checks-for-understanding.git","clone_url":"https://github.com/ACC25/checks-for-understanding.git","svn_url":"https://github.com/ACC25/checks-for-understanding","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool:master","ref":"master","sha":"cf1a6cc28c58f9b139ebd60a97e51202a8ea9f1c","user":{"login":"turingschool","id":7934292,"avatar_url":"https://avatars0.githubusercontent.com/u/7934292?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool","html_url":"https://github.com/turingschool","followers_url":"https://api.github.com/users/turingschool/followers","following_url":"https://api.github.com/users/turingschool/following{/other_user}","gists_url":"https://api.github.com/users/turingschool/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool/subscriptions","organizations_url":"https://api.github.com/users/turingschool/orgs","repos_url":"https://api.github.com/users/turingschool/repos","events_url":"https://api.github.com/users/turingschool/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool/received_events","type":"Organization","site_admin":false},"repo":{"id":66577733,"name":"checks-for-understanding","full_name":"turingschool/checks-for-understanding","owner":{"login":"turingschool","id":7934292,"avatar_url":"https://avatars0.githubusercontent.com/u/7934292?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool","html_url":"https://github.com/turingschool","followers_url":"https://api.github.com/users/turingschool/followers","following_url":"https://api.github.com/users/turingschool/following{/other_user}","gists_url":"https://api.github.com/users/turingschool/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool/subscriptions","organizations_url":"https://api.github.com/users/turingschool/orgs","repos_url":"https://api.github.com/users/turingschool/repos","events_url":"https://api.github.com/users/turingschool/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool/checks-for-understanding","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool/checks-for-understanding","forks_url":"https://api.github.com/repos/turingschool/checks-for-understanding/forks","keys_url":"https://api.github.com/repos/turingschool/checks-for-understanding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool/checks-for-understanding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool/checks-for-understanding/teams","hooks_url":"https://api.github.com/repos/turingschool/checks-for-understanding/hooks","issue_events_url":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool/checks-for-understanding/events","assignees_url":"https://api.github.com/repos/turingschool/checks-for-understanding/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool/checks-for-understanding/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool/checks-for-understanding/tags","blobs_url":"https://api.github.com/repos/turingschool/checks-for-understanding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool/checks-for-understanding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool/checks-for-understanding/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool/checks-for-understanding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool/checks-for-understanding/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool/checks-for-understanding/languages","stargazers_url":"https://api.github.com/repos/turingschool/checks-for-understanding/stargazers","contributors_url":"https://api.github.com/repos/turingschool/checks-for-understanding/contributors","subscribers_url":"https://api.github.com/repos/turingschool/checks-for-understanding/subscribers","subscription_url":"https://api.github.com/repos/turingschool/checks-for-understanding/subscription","commits_url":"https://api.github.com/repos/turingschool/checks-for-understanding/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool/checks-for-understanding/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool/checks-for-understanding/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool/checks-for-understanding/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool/checks-for-understanding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool/checks-for-understanding/merges","archive_url":"https://api.github.com/repos/turingschool/checks-for-understanding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool/checks-for-understanding/downloads","issues_url":"https://api.github.com/repos/turingschool/checks-for-understanding/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool/checks-for-understanding/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool/checks-for-understanding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool/checks-for-understanding/labels{/name}","releases_url":"https://api.github.com/repos/turingschool/checks-for-understanding/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool/checks-for-understanding/deployments","created_at":"2016-08-25T17:10:28Z","updated_at":"2017-02-13T00:30:11Z","pushed_at":"2017-08-22T13:22:30Z","git_url":"git://github.com/turingschool/checks-for-understanding.git","ssh_url":"git@github.com:turingschool/checks-for-understanding.git","clone_url":"https://github.com/turingschool/checks-for-understanding.git","svn_url":"https://github.com/turingschool/checks-for-understanding","homepage":null,"size":43,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":135,"mirror_url":null,"open_issues_count":22,"forks":135,"open_issues":22,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405"},"html":{"href":"https://github.com/turingschool/checks-for-understanding/pull/405"},"issue":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/405"},"comments":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool/checks-for-understanding/statuses/6ad61007b6ea3b2424f7cfc67cac77ff1c10ece1"}}}}
{"actor":{"display_login":"case-eee"}}