{"action":"created","issue":{"url":"https://api.github.com/repos/chaijs/chai/issues/385","labels_url":"https://api.github.com/repos/chaijs/chai/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/chaijs/chai/issues/385/comments","events_url":"https://api.github.com/repos/chaijs/chai/issues/385/events","html_url":"https://github.com/chaijs/chai/pull/385","id":59531635,"number":385,"title":"fix indexing into array with deep propery","user":{"login":"eldritch-fossicker","id":1520201,"avatar_url":"https://avatars.githubusercontent.com/u/1520201?v=3","gravatar_id":"","url":"https://api.github.com/users/eldritch-fossicker","html_url":"https://github.com/eldritch-fossicker","followers_url":"https://api.github.com/users/eldritch-fossicker/followers","following_url":"https://api.github.com/users/eldritch-fossicker/following{/other_user}","gists_url":"https://api.github.com/users/eldritch-fossicker/gists{/gist_id}","starred_url":"https://api.github.com/users/eldritch-fossicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldritch-fossicker/subscriptions","organizations_url":"https://api.github.com/users/eldritch-fossicker/orgs","repos_url":"https://api.github.com/users/eldritch-fossicker/repos","events_url":"https://api.github.com/users/eldritch-fossicker/events{/privacy}","received_events_url":"https://api.github.com/users/eldritch-fossicker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-02T19:17:53Z","updated_at":"2015-03-03T19:29:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chaijs/chai/pulls/385","html_url":"https://github.com/chaijs/chai/pull/385","diff_url":"https://github.com/chaijs/chai/pull/385.diff","patch_url":"https://github.com/chaijs/chai/pull/385.patch"},"body":"* added unit test to expect with code from documentation\r\n* added default to res in _getPathValue"},"comment":{"url":"https://api.github.com/repos/chaijs/chai/issues/comments/77016349","html_url":"https://github.com/chaijs/chai/pull/385#issuecomment-77016349","issue_url":"https://api.github.com/repos/chaijs/chai/issues/385","id":77016349,"user":{"login":"keithamus","id":118266,"avatar_url":"https://avatars.githubusercontent.com/u/118266?v=3","gravatar_id":"","url":"https://api.github.com/users/keithamus","html_url":"https://github.com/keithamus","followers_url":"https://api.github.com/users/keithamus/followers","following_url":"https://api.github.com/users/keithamus/following{/other_user}","gists_url":"https://api.github.com/users/keithamus/gists{/gist_id}","starred_url":"https://api.github.com/users/keithamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithamus/subscriptions","organizations_url":"https://api.github.com/users/keithamus/orgs","repos_url":"https://api.github.com/users/keithamus/repos","events_url":"https://api.github.com/users/keithamus/events{/privacy}","received_events_url":"https://api.github.com/users/keithamus/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T19:29:51Z","updated_at":"2015-03-03T19:29:51Z","body":"I see where you're coming from now @eldritch-fossicker. Ultimately it's neither here nor there - but the original patch seems slightly less explicit. On your point about if it were called with an index of 0 - I'd suggest that it shouldn't be called at all if that is the case.\r\n\r\nIf you could amend the patch to my reflect my comments above I'd be very happy at merging this though :smile: "}}