{"action":"created","comment":{"url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/comments/23181615","id":23181615,"diff_hunk":"@@ -90,6 +90,46 @@ var obj = {};\n if (!Object.prototype.hasOwnProperty.call(obj, \"x\")) obj.x = 2;\n ```\n \n+### Mallet assignment operator\n+\n+The mallet assignment operator allows you to lazily initialize a variable.\n+It checks whether the variable is falsey, if it is then the right hand value is set.\n+\n+While simplisticly equivalent to `a = a || b`, it will never set an already truthy value.","path":"docs/usage/playground.md","position":9,"original_position":9,"commit_id":"5b9b65bdd56f108f4b484e421d0080fd0da0ccf9","original_commit_id":"5b9b65bdd56f108f4b484e421d0080fd0da0ccf9","user":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"body":"That's the last time I write prose in the Github editor...","created_at":"2015-01-19T19:36:25Z","updated_at":"2015-01-19T19:36:25Z","html_url":"https://github.com/6to5/6to5.github.io/pull/68#discussion_r23181615","pull_request_url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/comments/23181615"},"html":{"href":"https://github.com/6to5/6to5.github.io/pull/68#discussion_r23181615"},"pull_request":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68","id":27617421,"html_url":"https://github.com/6to5/6to5.github.io/pull/68","diff_url":"https://github.com/6to5/6to5.github.io/pull/68.diff","patch_url":"https://github.com/6to5/6to5.github.io/pull/68.patch","issue_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/68","number":68,"state":"open","locked":false,"title":"Document Mallet operator","user":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-19T16:11:29Z","updated_at":"2015-01-19T19:36:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f551cbac56fd432a3b2c72d6b0063b0ec1447e2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68/commits","review_comments_url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68/comments","review_comment_url":"https://api.github.com/repos/6to5/6to5.github.io/pulls/comments/{number}","comments_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/68/comments","statuses_url":"https://api.github.com/repos/6to5/6to5.github.io/statuses/5b9b65bdd56f108f4b484e421d0080fd0da0ccf9","head":{"label":"jridgewell:patch-1","ref":"patch-1","sha":"5b9b65bdd56f108f4b484e421d0080fd0da0ccf9","user":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"repo":{"id":29478344,"name":"6to5.github.io","full_name":"jridgewell/6to5.github.io","owner":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jridgewell/6to5.github.io","description":"","fork":true,"url":"https://api.github.com/repos/jridgewell/6to5.github.io","forks_url":"https://api.github.com/repos/jridgewell/6to5.github.io/forks","keys_url":"https://api.github.com/repos/jridgewell/6to5.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jridgewell/6to5.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jridgewell/6to5.github.io/teams","hooks_url":"https://api.github.com/repos/jridgewell/6to5.github.io/hooks","issue_events_url":"https://api.github.com/repos/jridgewell/6to5.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/jridgewell/6to5.github.io/events","assignees_url":"https://api.github.com/repos/jridgewell/6to5.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/jridgewell/6to5.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/jridgewell/6to5.github.io/tags","blobs_url":"https://api.github.com/repos/jridgewell/6to5.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jridgewell/6to5.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jridgewell/6to5.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/jridgewell/6to5.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jridgewell/6to5.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/jridgewell/6to5.github.io/languages","stargazers_url":"https://api.github.com/repos/jridgewell/6to5.github.io/stargazers","contributors_url":"https://api.github.com/repos/jridgewell/6to5.github.io/contributors","subscribers_url":"https://api.github.com/repos/jridgewell/6to5.github.io/subscribers","subscription_url":"https://api.github.com/repos/jridgewell/6to5.github.io/subscription","commits_url":"https://api.github.com/repos/jridgewell/6to5.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/jridgewell/6to5.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/jridgewell/6to5.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/jridgewell/6to5.github.io/issues/comments/{number}","contents_url":"https://api.github.com/repos/jridgewell/6to5.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/jridgewell/6to5.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jridgewell/6to5.github.io/merges","archive_url":"https://api.github.com/repos/jridgewell/6to5.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jridgewell/6to5.github.io/downloads","issues_url":"https://api.github.com/repos/jridgewell/6to5.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/jridgewell/6to5.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/jridgewell/6to5.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/jridgewell/6to5.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jridgewell/6to5.github.io/labels{/name}","releases_url":"https://api.github.com/repos/jridgewell/6to5.github.io/releases{/id}","created_at":"2015-01-19T15:52:01Z","updated_at":"2015-01-19T15:52:02Z","pushed_at":"2015-01-19T16:11:15Z","git_url":"git://github.com/jridgewell/6to5.github.io.git","ssh_url":"git@github.com:jridgewell/6to5.github.io.git","clone_url":"https://github.com/jridgewell/6to5.github.io.git","svn_url":"https://github.com/jridgewell/6to5.github.io","homepage":"https://6to5.org/","size":5962,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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":"6to5:master","ref":"master","sha":"40d322d9499da51850246e41760d5b71b761ad86","user":{"login":"6to5","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/6to5","html_url":"https://github.com/6to5","followers_url":"https://api.github.com/users/6to5/followers","following_url":"https://api.github.com/users/6to5/following{/other_user}","gists_url":"https://api.github.com/users/6to5/gists{/gist_id}","starred_url":"https://api.github.com/users/6to5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6to5/subscriptions","organizations_url":"https://api.github.com/users/6to5/orgs","repos_url":"https://api.github.com/users/6to5/repos","events_url":"https://api.github.com/users/6to5/events{/privacy}","received_events_url":"https://api.github.com/users/6to5/received_events","type":"Organization","site_admin":false},"repo":{"id":26390088,"name":"6to5.github.io","full_name":"6to5/6to5.github.io","owner":{"login":"6to5","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/6to5","html_url":"https://github.com/6to5","followers_url":"https://api.github.com/users/6to5/followers","following_url":"https://api.github.com/users/6to5/following{/other_user}","gists_url":"https://api.github.com/users/6to5/gists{/gist_id}","starred_url":"https://api.github.com/users/6to5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6to5/subscriptions","organizations_url":"https://api.github.com/users/6to5/orgs","repos_url":"https://api.github.com/users/6to5/repos","events_url":"https://api.github.com/users/6to5/events{/privacy}","received_events_url":"https://api.github.com/users/6to5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/6to5/6to5.github.io","description":"","fork":false,"url":"https://api.github.com/repos/6to5/6to5.github.io","forks_url":"https://api.github.com/repos/6to5/6to5.github.io/forks","keys_url":"https://api.github.com/repos/6to5/6to5.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/6to5/6to5.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/6to5/6to5.github.io/teams","hooks_url":"https://api.github.com/repos/6to5/6to5.github.io/hooks","issue_events_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/6to5/6to5.github.io/events","assignees_url":"https://api.github.com/repos/6to5/6to5.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/6to5/6to5.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/6to5/6to5.github.io/tags","blobs_url":"https://api.github.com/repos/6to5/6to5.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/6to5/6to5.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/6to5/6to5.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/6to5/6to5.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/6to5/6to5.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/6to5/6to5.github.io/languages","stargazers_url":"https://api.github.com/repos/6to5/6to5.github.io/stargazers","contributors_url":"https://api.github.com/repos/6to5/6to5.github.io/contributors","subscribers_url":"https://api.github.com/repos/6to5/6to5.github.io/subscribers","subscription_url":"https://api.github.com/repos/6to5/6to5.github.io/subscription","commits_url":"https://api.github.com/repos/6to5/6to5.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/6to5/6to5.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/6to5/6to5.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/comments/{number}","contents_url":"https://api.github.com/repos/6to5/6to5.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/6to5/6to5.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/6to5/6to5.github.io/merges","archive_url":"https://api.github.com/repos/6to5/6to5.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/6to5/6to5.github.io/downloads","issues_url":"https://api.github.com/repos/6to5/6to5.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/6to5/6to5.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/6to5/6to5.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/6to5/6to5.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/6to5/6to5.github.io/labels{/name}","releases_url":"https://api.github.com/repos/6to5/6to5.github.io/releases{/id}","created_at":"2014-11-09T08:29:53Z","updated_at":"2015-01-19T15:35:09Z","pushed_at":"2015-01-19T14:14:33Z","git_url":"git://github.com/6to5/6to5.github.io.git","ssh_url":"git@github.com:6to5/6to5.github.io.git","clone_url":"https://github.com/6to5/6to5.github.io.git","svn_url":"https://github.com/6to5/6to5.github.io","homepage":"https://6to5.org/","size":5962,"stargazers_count":6,"watchers_count":6,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":24,"forks":21,"open_issues":24,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68"},"html":{"href":"https://github.com/6to5/6to5.github.io/pull/68"},"issue":{"href":"https://api.github.com/repos/6to5/6to5.github.io/issues/68"},"comments":{"href":"https://api.github.com/repos/6to5/6to5.github.io/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/6to5/6to5.github.io/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/6to5/6to5.github.io/statuses/5b9b65bdd56f108f4b484e421d0080fd0da0ccf9"}}}}