{"action":"created","comment":{"url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/comments/88860238","pull_request_review_id":9418550,"id":88860238,"diff_hunk":"@@ -0,0 +1,32 @@\n+/**\n+ * Problem instructions: <Here i want to assign the value of y to x and print it if x is undefined and just print x if it's defined>\n+ * Relevant resources:\n+ * - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_Types\n+ * - <link 2>\n+ */\n+\n+function problem1(){\n+  // let y=13;\n+  const x;\n+  if(){\n+  \tx=y;;\n+  }\n+  else;\n+\n+\n+\n+/**\n+ * Solution - below is a base64 blob of the solution.\n+ bGV0IHk9MTM7CnZhciB4OwppZih4PT09dW5kZWZpbmVkKXsKCXg9eTsKCWNvbnNvbGUubG9nKHgpOwp9CmVsc2UKY29uc29sZS5sb2coeCk7Cg==\n+ *\n+--begin--\n+<\n+  Here goes a base64-encrypted string of your solution (all problems). To encrypt a code sample use:","path":"grammar-and-types/problem","position":24,"original_position":24,"commit_id":"5b6962e1dba8ebbd9a3167aa9994079800ef4281","original_commit_id":"5b6962e1dba8ebbd9a3167aa9994079800ef4281","user":{"login":"fuzzytern","id":634808,"avatar_url":"https://avatars.githubusercontent.com/u/634808?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzzytern","html_url":"https://github.com/fuzzytern","followers_url":"https://api.github.com/users/fuzzytern/followers","following_url":"https://api.github.com/users/fuzzytern/following{/other_user}","gists_url":"https://api.github.com/users/fuzzytern/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzzytern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzzytern/subscriptions","organizations_url":"https://api.github.com/users/fuzzytern/orgs","repos_url":"https://api.github.com/users/fuzzytern/repos","events_url":"https://api.github.com/users/fuzzytern/events{/privacy}","received_events_url":"https://api.github.com/users/fuzzytern/received_events","type":"User","site_admin":false},"body":"Remove all template code. [Look here](https://github.com/iteratehackerspace/ecmascript-sandbox/blob/master/grammar-and-types/var_let_const_1.js) for a good example.","created_at":"2016-11-21T09:56:12Z","updated_at":"2016-11-21T09:56:46Z","html_url":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3#discussion_r88860238","pull_request_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/comments/88860238"},"html":{"href":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3#discussion_r88860238"},"pull_request":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3","id":93966826,"html_url":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3","diff_url":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3.diff","patch_url":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3.patch","issue_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/3","number":3,"state":"open","locked":false,"title":"Added a problem and solution","user":{"login":"Har895","id":23362896,"avatar_url":"https://avatars.githubusercontent.com/u/23362896?v=3","gravatar_id":"","url":"https://api.github.com/users/Har895","html_url":"https://github.com/Har895","followers_url":"https://api.github.com/users/Har895/followers","following_url":"https://api.github.com/users/Har895/following{/other_user}","gists_url":"https://api.github.com/users/Har895/gists{/gist_id}","starred_url":"https://api.github.com/users/Har895/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Har895/subscriptions","organizations_url":"https://api.github.com/users/Har895/orgs","repos_url":"https://api.github.com/users/Har895/repos","events_url":"https://api.github.com/users/Har895/events{/privacy}","received_events_url":"https://api.github.com/users/Har895/received_events","type":"User","site_admin":false},"body":"here's a problem and its solution","created_at":"2016-11-16T13:37:28Z","updated_at":"2016-11-21T09:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1e0c5e1478cbb21bfe073f7f9743b0ad038cc16","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3/commits","review_comments_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3/comments","review_comment_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/3/comments","statuses_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/statuses/5b6962e1dba8ebbd9a3167aa9994079800ef4281","head":{"label":"Har895:master","ref":"master","sha":"5b6962e1dba8ebbd9a3167aa9994079800ef4281","user":{"login":"Har895","id":23362896,"avatar_url":"https://avatars.githubusercontent.com/u/23362896?v=3","gravatar_id":"","url":"https://api.github.com/users/Har895","html_url":"https://github.com/Har895","followers_url":"https://api.github.com/users/Har895/followers","following_url":"https://api.github.com/users/Har895/following{/other_user}","gists_url":"https://api.github.com/users/Har895/gists{/gist_id}","starred_url":"https://api.github.com/users/Har895/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Har895/subscriptions","organizations_url":"https://api.github.com/users/Har895/orgs","repos_url":"https://api.github.com/users/Har895/repos","events_url":"https://api.github.com/users/Har895/events{/privacy}","received_events_url":"https://api.github.com/users/Har895/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"iteratehackerspace:master","ref":"master","sha":"b43e75af2bbaab1ca0930d1480d0fb5581dd4873","user":{"login":"iteratehackerspace","id":22506632,"avatar_url":"https://avatars.githubusercontent.com/u/22506632?v=3","gravatar_id":"","url":"https://api.github.com/users/iteratehackerspace","html_url":"https://github.com/iteratehackerspace","followers_url":"https://api.github.com/users/iteratehackerspace/followers","following_url":"https://api.github.com/users/iteratehackerspace/following{/other_user}","gists_url":"https://api.github.com/users/iteratehackerspace/gists{/gist_id}","starred_url":"https://api.github.com/users/iteratehackerspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iteratehackerspace/subscriptions","organizations_url":"https://api.github.com/users/iteratehackerspace/orgs","repos_url":"https://api.github.com/users/iteratehackerspace/repos","events_url":"https://api.github.com/users/iteratehackerspace/events{/privacy}","received_events_url":"https://api.github.com/users/iteratehackerspace/received_events","type":"Organization","site_admin":false},"repo":{"id":73549273,"name":"ecmascript-sandbox","full_name":"iteratehackerspace/ecmascript-sandbox","owner":{"login":"iteratehackerspace","id":22506632,"avatar_url":"https://avatars.githubusercontent.com/u/22506632?v=3","gravatar_id":"","url":"https://api.github.com/users/iteratehackerspace","html_url":"https://github.com/iteratehackerspace","followers_url":"https://api.github.com/users/iteratehackerspace/followers","following_url":"https://api.github.com/users/iteratehackerspace/following{/other_user}","gists_url":"https://api.github.com/users/iteratehackerspace/gists{/gist_id}","starred_url":"https://api.github.com/users/iteratehackerspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iteratehackerspace/subscriptions","organizations_url":"https://api.github.com/users/iteratehackerspace/orgs","repos_url":"https://api.github.com/users/iteratehackerspace/repos","events_url":"https://api.github.com/users/iteratehackerspace/events{/privacy}","received_events_url":"https://api.github.com/users/iteratehackerspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iteratehackerspace/ecmascript-sandbox","description":"A place for community learning and mentoring with ECMAScript2015 and beyond. ","fork":false,"url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox","forks_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/forks","keys_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/teams","hooks_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/hooks","issue_events_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/events","assignees_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/tags","blobs_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/languages","stargazers_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/stargazers","contributors_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/contributors","subscribers_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/subscribers","subscription_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/subscription","commits_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/merges","archive_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/downloads","issues_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/labels{/name}","releases_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/deployments","created_at":"2016-11-12T11:40:25Z","updated_at":"2016-11-16T13:20:10Z","pushed_at":"2016-11-21T09:11:25Z","git_url":"git://github.com/iteratehackerspace/ecmascript-sandbox.git","ssh_url":"git@github.com:iteratehackerspace/ecmascript-sandbox.git","clone_url":"https://github.com/iteratehackerspace/ecmascript-sandbox.git","svn_url":"https://github.com/iteratehackerspace/ecmascript-sandbox","homepage":null,"size":29,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3"},"html":{"href":"https://github.com/iteratehackerspace/ecmascript-sandbox/pull/3"},"issue":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/3"},"comments":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/iteratehackerspace/ecmascript-sandbox/statuses/5b6962e1dba8ebbd9a3167aa9994079800ef4281"}}}}
{"actor":{"display_login":"fuzzytern"}}