{"action":"created","issue":{"url":"https://api.github.com/repos/popcodeorg/popcode/issues/1453","repository_url":"https://api.github.com/repos/popcodeorg/popcode","labels_url":"https://api.github.com/repos/popcodeorg/popcode/issues/1453/labels{/name}","comments_url":"https://api.github.com/repos/popcodeorg/popcode/issues/1453/comments","events_url":"https://api.github.com/repos/popcodeorg/popcode/issues/1453/events","html_url":"https://github.com/popcodeorg/popcode/issues/1453","id":321015712,"number":1453,"title":"Confusing behavior when using a variable called \"name\" in Popcode","user":{"login":"greenberga","id":38597857,"avatar_url":"https://avatars3.githubusercontent.com/u/38597857?v=4","gravatar_id":"","url":"https://api.github.com/users/greenberga","html_url":"https://github.com/greenberga","followers_url":"https://api.github.com/users/greenberga/followers","following_url":"https://api.github.com/users/greenberga/following{/other_user}","gists_url":"https://api.github.com/users/greenberga/gists{/gist_id}","starred_url":"https://api.github.com/users/greenberga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenberga/subscriptions","organizations_url":"https://api.github.com/users/greenberga/orgs","repos_url":"https://api.github.com/users/greenberga/repos","events_url":"https://api.github.com/users/greenberga/events{/privacy}","received_events_url":"https://api.github.com/users/greenberga/received_events","type":"User","site_admin":false},"labels":[{"id":466479606,"url":"https://api.github.com/repos/popcodeorg/popcode/labels/bug","name":"bug","color":"e99695","default":true},{"id":717287297,"url":"https://api.github.com/repos/popcodeorg/popcode/labels/help%20wanted","name":"help wanted","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-08T01:53:12Z","updated_at":"2018-05-08T18:18:46Z","closed_at":null,"author_association":"NONE","body":"For one of the for-loop/array assignments, one of my students created an array of students and assigned it to a variable called `name`. For some reason, the variable is being coerced to a string (as if all the array elements were joined together with a `,`). Seems like a bug? Confusing behavior, at least.\r\n\r\n![weird-coercion](https://user-images.githubusercontent.com/38597857/39733499-f7ac01a6-5240-11e8-935c-cd971b8474db.png)\r\n"},"comment":{"url":"https://api.github.com/repos/popcodeorg/popcode/issues/comments/387495022","html_url":"https://github.com/popcodeorg/popcode/issues/1453#issuecomment-387495022","issue_url":"https://api.github.com/repos/popcodeorg/popcode/issues/1453","id":387495022,"user":{"login":"outoftime","id":14214,"avatar_url":"https://avatars3.githubusercontent.com/u/14214?v=4","gravatar_id":"","url":"https://api.github.com/users/outoftime","html_url":"https://github.com/outoftime","followers_url":"https://api.github.com/users/outoftime/followers","following_url":"https://api.github.com/users/outoftime/following{/other_user}","gists_url":"https://api.github.com/users/outoftime/gists{/gist_id}","starred_url":"https://api.github.com/users/outoftime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outoftime/subscriptions","organizations_url":"https://api.github.com/users/outoftime/orgs","repos_url":"https://api.github.com/users/outoftime/repos","events_url":"https://api.github.com/users/outoftime/events{/privacy}","received_events_url":"https://api.github.com/users/outoftime/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T18:18:46Z","updated_at":"2018-05-08T18:18:46Z","author_association":"COLLABORATOR","body":"This is mystifying, but good catch @ajgreenb and good investigation @alexpelan !"}}
{"actor":{"display_login":"outoftime"}}