{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/live-editor/issues/496","labels_url":"https://api.github.com/repos/Khan/live-editor/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/Khan/live-editor/issues/496/comments","events_url":"https://api.github.com/repos/Khan/live-editor/issues/496/events","html_url":"https://github.com/Khan/live-editor/issues/496","id":117215502,"number":496,"title":"Can't make a object instance when the object constructor is passed into a function","user":{"login":"petercollingridge","id":219302,"avatar_url":"https://avatars.githubusercontent.com/u/219302?v=3","gravatar_id":"","url":"https://api.github.com/users/petercollingridge","html_url":"https://github.com/petercollingridge","followers_url":"https://api.github.com/users/petercollingridge/followers","following_url":"https://api.github.com/users/petercollingridge/following{/other_user}","gists_url":"https://api.github.com/users/petercollingridge/gists{/gist_id}","starred_url":"https://api.github.com/users/petercollingridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercollingridge/subscriptions","organizations_url":"https://api.github.com/users/petercollingridge/orgs","repos_url":"https://api.github.com/users/petercollingridge/repos","events_url":"https://api.github.com/users/petercollingridge/events{/privacy}","received_events_url":"https://api.github.com/users/petercollingridge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-16T20:54:34Z","updated_at":"2015-11-17T01:19:03Z","closed_at":null,"body":"The following code gives an error: Cannot read property 'prototype' of undefined.\r\n\r\n    var makeObj = function(obj) {\r\n      return new obj();\r\n    };\r\n\r\n    var x = makeObj(Array);\r\n\r\nIt worked about 10 days ago. It's not a big deal, but I've seen a few programs broken as a result of it."},"comment":{"url":"https://api.github.com/repos/Khan/live-editor/issues/comments/157228978","html_url":"https://github.com/Khan/live-editor/issues/496#issuecomment-157228978","issue_url":"https://api.github.com/repos/Khan/live-editor/issues/496","id":157228978,"user":{"login":"kevinbarabash","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinbarabash","html_url":"https://github.com/kevinbarabash","followers_url":"https://api.github.com/users/kevinbarabash/followers","following_url":"https://api.github.com/users/kevinbarabash/following{/other_user}","gists_url":"https://api.github.com/users/kevinbarabash/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbarabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbarabash/subscriptions","organizations_url":"https://api.github.com/users/kevinbarabash/orgs","repos_url":"https://api.github.com/users/kevinbarabash/repos","events_url":"https://api.github.com/users/kevinbarabash/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbarabash/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T01:19:03Z","updated_at":"2015-11-17T01:19:03Z","body":"@Gigabyte-Giant this is a regression.  Thanks for fixing."}}