{"action":"created","issue":{"url":"https://api.github.com/repos/princejwesley/Mancy/issues/96","labels_url":"https://api.github.com/repos/princejwesley/Mancy/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/princejwesley/Mancy/issues/96/comments","events_url":"https://api.github.com/repos/princejwesley/Mancy/issues/96/events","html_url":"https://github.com/princejwesley/Mancy/issues/96","id":129795270,"number":96,"title":"Object.prototype.isPrototypeOf return false for object literals","user":{"login":"feimosi","id":5721520,"avatar_url":"https://avatars.githubusercontent.com/u/5721520?v=3","gravatar_id":"","url":"https://api.github.com/users/feimosi","html_url":"https://github.com/feimosi","followers_url":"https://api.github.com/users/feimosi/followers","following_url":"https://api.github.com/users/feimosi/following{/other_user}","gists_url":"https://api.github.com/users/feimosi/gists{/gist_id}","starred_url":"https://api.github.com/users/feimosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feimosi/subscriptions","organizations_url":"https://api.github.com/users/feimosi/orgs","repos_url":"https://api.github.com/users/feimosi/repos","events_url":"https://api.github.com/users/feimosi/events{/privacy}","received_events_url":"https://api.github.com/users/feimosi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/princejwesley/Mancy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T15:23:28Z","updated_at":"2016-01-29T16:15:10Z","closed_at":null,"body":"Not a big issue, but I've just noticed that:\r\n``` js\r\na = {}\r\nObject.prototype.isPrototypeOf(a) // returns false\r\n```\r\nand\r\n``` js\r\na = new Object()\r\nObject.prototype.isPrototypeOf(a) // returns true\r\n```\r\nOf course in both cases it should be true. I've checked that on Node and Chrome. Works good on both.\r\nMancy v2.2.0"},"comment":{"url":"https://api.github.com/repos/princejwesley/Mancy/issues/comments/176841354","html_url":"https://github.com/princejwesley/Mancy/issues/96#issuecomment-176841354","issue_url":"https://api.github.com/repos/princejwesley/Mancy/issues/96","id":176841354,"user":{"login":"princejwesley","id":1622515,"avatar_url":"https://avatars.githubusercontent.com/u/1622515?v=3","gravatar_id":"","url":"https://api.github.com/users/princejwesley","html_url":"https://github.com/princejwesley","followers_url":"https://api.github.com/users/princejwesley/followers","following_url":"https://api.github.com/users/princejwesley/following{/other_user}","gists_url":"https://api.github.com/users/princejwesley/gists{/gist_id}","starred_url":"https://api.github.com/users/princejwesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princejwesley/subscriptions","organizations_url":"https://api.github.com/users/princejwesley/orgs","repos_url":"https://api.github.com/users/princejwesley/repos","events_url":"https://api.github.com/users/princejwesley/events{/privacy}","received_events_url":"https://api.github.com/users/princejwesley/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T16:15:10Z","updated_at":"2016-01-29T16:15:10Z","body":"@feimosi  Issue is in [script.runInContext](https://nodejs.org/dist/latest-v5.x/docs/api/vm.html#vm_script_runincontext_contextifiedsandbox_options) function.  node repl runs in `global` context(`script.runInThisContext`) and therefore, it works.  I see few [open issues](https://github.com/nodejs/node/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Avm) reported in node repo. Its a v8 issue. node or v8 repo is a ideal place to raise this.\r\n<img width=\"1389\" alt=\"screen shot 2016-01-29 at 9 30 31 pm\" src=\"https://cloud.githubusercontent.com/assets/1622515/12680489/2ef0ae9a-c6d0-11e5-88c4-20cbb600aef8.png\">\r\n![screen shot 2016-01-29 at 9 30 19 pm](https://cloud.githubusercontent.com/assets/1622515/12680491/33815824-c6d0-11e5-98d4-d6e5c8505cd0.png)\r\n\r\n"}}